* 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
This commit is contained in:
nobu 2010-07-21 02:55:10 +00:00
parent 9d0d4d8a17
commit 9a89e864ea
3 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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

2
util.c
View File

@ -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;