summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-21 02:55:10 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-21 02:55:10 (GMT)
commit9a89e864ea8211561c119052b0fa051a348b0ac7 (patch)
tree5f26bb5750c44306900c8d4b1301bc8d333fd86b
parent9d0d4d8a172a6ea61d184c473d645e1faadea804 (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--sprintf.c1
-rw-r--r--util.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c529a1a..4febe46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jul 21 11:55:06 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * util.c (ruby_hdtoa): renamed from BSD__hdtoa.
+
Tue Jul 20 11:35:11 2010 Evan Phoenix <evan@ruby-lang.org>
* lib/rubygems.rb: Load the custom require if --disable-rubygems
diff --git a/sprintf.c b/sprintf.c
index 8a4662b..8a83cb3 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 363868d..48c212e 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;