1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

merges r21115 from trunk into ruby_1_9_1.

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-12-29 07:19:03 +00:00
parent 2cd1b4412b
commit 4cd4eda7bb
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Sun Dec 28 18:39:57 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* sprintf.c: not force to override snprintf/vsnprintf.
[ruby-core:20824]
Sun Dec 28 21:33:52 2008 NARUSE, Yui <naruse@ruby-lang.org>
* test/ext/dl/test_base.rb : add BSD's case.

View file

@ -1081,12 +1081,9 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec)
# 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