diff options
| author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-27 11:43:02 +0000 |
|---|---|---|
| committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-27 11:43:02 +0000 |
| commit | cd453f16b42ea9b68993631b27773165b24ee9b2 (patch) | |
| tree | a1c01e21da4eb2ff73898ca2deb0bd86f0333386 /ChangeLog | |
| parent | 90833dd452c0c7276b1dd5a88ab1dd99fbb2d6a5 (diff) | |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Thu Dec 27 20:11:29 2012 Masaki Matsushita <glass.saga@gmail.com> + + * 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. + Wed Dec 26 23:55:18 2012 Keiju Ishitsuka <keiju@ishitsuka.com> * lib/irb/context.rb: fix IRB::Inspector#keys_with_inspector [Bug #7598] |
