[ruby-cvs:66967] nobu:r59789 (trunk): sprintf.c: NULL as str

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Sep 9 18:16:59 JST 2017


nobu	2017-09-09 18:16:59 +0900 (Sat, 09 Sep 2017)

  New Revision: 59789

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

  Log:
    sprintf.c: NULL as str
    
    * sprintf.c (ruby_vsnprintf, ruby_snprintf): allow NULL as str,
      just count the expected buffer size.

  Modified files:
    trunk/ext/-test-/printf/printf.c
    trunk/sprintf.c
    trunk/test/-ext-/test_printf.rb


More information about the ruby-cvs mailing list