[ruby-cvs:65669] nobu:r58497 (trunk): sprintf.c: format by utility functions

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Apr 28 11:10:51 JST 2017


nobu	2017-04-28 11:10:51 +0900 (Fri, 28 Apr 2017)

  New Revision: 58497

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58497

  Log:
    sprintf.c: format by utility functions
    
    * sprintf.c (rb_str_format, fmt_setup): format by utility
      functions in vsnprintf.c instead of `snprintf`.
    
    * sprintf.c (rb_str_format): format and append by `rb_str_catf`
      instead of formatting by `snprintf` and then copy.

  Modified files:
    trunk/sprintf.c


More information about the ruby-cvs mailing list