Project

General

Profile

« Previous | Next » 

Revision 8563b285

Added by U.Nakamura over 16 years ago

  • 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/trunk@22471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e