[前][次][番号順一覧][スレッド一覧]

ruby-changes:19004

From: nobu <ko1@a...>
Date: Mon, 7 Mar 2011 09:19:45 +0900 (JST)
Subject: [ruby-changes:19004] Ruby:r31040 (trunk): * ext/date/date_core.c (DateTimeData): should not use bare 'long long'

nobu	2011-03-07 08:39:04 +0900 (Mon, 07 Mar 2011)

  New Revision: 31040

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31040

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31039)
+++ ChangeLog	(revision 31040)
@@ -1,3 +1,11 @@
+Mon Mar  7 08:38:14 2011  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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.
+
 Mon Mar  7 00:21:11 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* process.c (proc_getgroups): get rid of maxgroups dependency.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]