[ruby-cvs:65212] nobu:r58041 (trunk): stringio.c: check range

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 21 12:15:57 JST 2017


nobu	2017-03-21 12:15:57 +0900 (Tue, 21 Mar 2017)

  New Revision: 58041

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

  Log:
    stringio.c: check range
    
    * ext/stringio/stringio.c (strio_ungetc): raise RangeError instead
      of TypeError at too big value, as well as IO#ungetc.

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


More information about the ruby-cvs mailing list