[ruby-cvs:61400] nobu:r54239 (trunk): strftime.c: fix false failure

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Mar 24 11:43:34 JST 2016


nobu	2016-03-24 11:43:34 +0900 (Thu, 24 Mar 2016)

  New Revision: 54239

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

  Log:
    strftime.c: fix false failure
    
    * strftime.c (rb_strftime_with_timespec): remove unnecessary
      check, as `s` equals to `endp` when recursed STRFTIME resized
      the capacity same as the size.

  Modified files:
    trunk/ChangeLog
    trunk/strftime.c
    trunk/test/ruby/test_time.rb


More information about the ruby-cvs mailing list