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

ruby-changes:15360

From: akr <ko1@a...>
Date: Wed, 7 Apr 2010 21:45:23 +0900 (JST)
Subject: [ruby-changes:15360] Ruby:r27250 (trunk): * time.c (ASCTIME): unused macro removed.

akr	2010-04-07 21:45:02 +0900 (Wed, 07 Apr 2010)

  New Revision: 27250

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

  Log:
    * time.c (ASCTIME): unused macro removed.

  Modified files:
    trunk/ChangeLog
    trunk/time.c

Index: time.c
===================================================================
--- time.c	(revision 27249)
+++ time.c	(revision 27250)
@@ -892,12 +892,6 @@
 #   define GMTIME(tm, result) rb_gmtime_r2((tm), &(result))
 #endif
 
-#ifdef HAVE_GMTIME_R
-#define ASCTIME(tm, buf) asctime_r((tm), (buf))
-#else
-#define ASCTIME(tm, buf) asctime(tm)
-#endif
-
 static const int common_year_yday_offset[] = {
     -1,
     -1 + 31,
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27249)
+++ ChangeLog	(revision 27250)
@@ -1,3 +1,7 @@
+Wed Apr  7 21:44:14 2010  Tanaka Akira  <akr@f...>
+
+	* time.c (ASCTIME): unused macro removed.
+
 Wed Apr  7 16:45:49 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (Makefile): reverted r27244.

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

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