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

ruby-changes:9575

From: nobu <ko1@a...>
Date: Sun, 28 Dec 2008 18:40:25 +0900 (JST)
Subject: [ruby-changes:9575] Ruby:r21115 (trunk): * sprintf.c: not force to override snprintf/vsnprintf.

nobu	2008-12-28 18:40:04 +0900 (Sun, 28 Dec 2008)

  New Revision: 21115

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

  Log:
    * sprintf.c: not force to override snprintf/vsnprintf.
      [ruby-core:20824]

  Modified files:
    trunk/ChangeLog
    trunk/sprintf.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21114)
+++ ChangeLog	(revision 21115)
@@ -1,3 +1,8 @@
+Sun Dec 28 18:39:57 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* sprintf.c: not force to override snprintf/vsnprintf.
+	  [ruby-core:20824]
+
 Sun Dec 28 17:21:36 2008  NARUSE, Yui  <naruse@r...>
 
 	* test/rubygems/test_ext_configure_builder.rb (test_self_build_fail):
Index: sprintf.c
===================================================================
--- sprintf.c	(revision 21114)
+++ sprintf.c	(revision 21115)
@@ -1081,12 +1081,9 @@
 #  define u_quad_t unsigned LONG_LONG
 # endif
 #endif
-#undef vsnprintf
 #undef snprintf
 #define FLOATING_POINT 1
 #define BSD__dtoa ruby_dtoa
-#undef HAVE_VSNPRINTF
-#undef HAVE_SNPRINTF
 #if _MSC_VER >= 1300
 #pragma warning(disable: 4273)
 #endif

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

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