[ruby-cvs:60337] nobu:r53181 (trunk): stringio.c: padding in ungetbyte

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Dec 18 12:09:16 JST 2015


nobu	2015-12-18 12:09:16 +0900 (Fri, 18 Dec 2015)

  New Revision: 53181

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

  Log:
    stringio.c: padding in ungetbyte
    
    * ext/stringio/stringio.c (strio_ungetbyte): pad with \000 when
      the current position is after the end.

  Modified files:
    trunk/ChangeLog
    trunk/ext/stringio/stringio.c
    trunk/test/stringio/test_stringio.rb


More information about the ruby-cvs mailing list