summaryrefslogtreecommitdiff
path: root/ext/date/date_core.c
AgeCommit message (Collapse)Author
2011-03-06fix of ext/date/date_core.nobu
* ext/date/date_core.c (DateTimeData): should not use bare 'long long' and 'long double', which are not defined by C89. * ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting down double to integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-28* ext/date/date_core.c (datetime_s_now): localtime() and localtime_r()usa
required time_t pointer as 1st parameter, and tv_sec member of struct timeval is long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-26* ext/date/date_core.c: adjust indent.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-26 * lib/date.rb: [Feature #4257]tadf
* ext/date/extconf.rb: new * ext/date/date_core.c: new git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e