From 9a89e864ea8211561c119052b0fa051a348b0ac7 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 21 Jul 2010 02:55:10 +0000 Subject: [PATCH] * util.c (ruby_hdtoa): renamed from BSD__hdtoa. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ sprintf.c | 1 + util.c | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c529a1ac1b..4febe46b40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 21 11:55:06 2010 Nobuyoshi Nakada + + * util.c (ruby_hdtoa): renamed from BSD__hdtoa. + Tue Jul 20 11:35:11 2010 Evan Phoenix * lib/rubygems.rb: Load the custom require if --disable-rubygems diff --git a/sprintf.c b/sprintf.c index 8a4662bcfb..8a83cb3446 100644 --- a/sprintf.c +++ b/sprintf.c @@ -1115,6 +1115,7 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec) #endif #define FLOATING_POINT 1 #define BSD__dtoa ruby_dtoa +#define BSD__hdtoa ruby_hdtoa #include "vsnprintf.c" static int diff --git a/util.c b/util.c index 363868dbc4..48c212ec6a 100644 --- a/util.c +++ b/util.c @@ -3927,7 +3927,7 @@ ruby_each_words(const char *str, void (*func)(const char*, int, void*), void *ar * Outputs: decpt, sign, rve */ char * -BSD__hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign, +ruby_hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign, char **rve) { U u;