Project

General

Profile

« Previous | Next » 

Revision 5fd244b4

Added by yugui (Yuki Sonoda) over 16 years ago

merges r22471 from trunk into ruby_1_9_1.
* util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() because
couldn't free the returned pointer from ruby_dtoa().

 * missing/vsnprintf.c (cvt): receive buffer and use/return it instead of returning the pointer returned from BSD__dtoa(). * missing/vsnprintf.c (BSD_vfprintf): pass buf to cvt() as the buffer. [ruby-core:22184] 

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e