Project

General

Profile

« Previous | Next » 

Revision 38628

Added by glass over 6 years ago

  • ext/stringio/stringio.c (strio_ungetc): raise IOError instead of RuntimeError
    if the string is frozen.
    [Bug #7231] [ruby-core:48530]

  • ext/stringio/stringio.c (strio_ungetbyte): ditto.

  • test/stringio/test_stringio.rb: a test for above.