Backport #2432
closedStringIO#reopen incomplete initialization
Description
=begin
0% ruby187 -v -rstringio -e 'f = StringIO.new("foo"); f.gets; f.reopen("foo"); p f.gets'
ruby 1.8.7 (2009-11-25 patchlevel 225) [i686-linux]
nil
0% ruby -v -rstringio -e 'f = StringIO.new("foo"); f.gets; f.reopen("foo"); p f.gets'
ruby 1.8.8dev (2009-12-03 revision 25983) [i686-linux]
"foo"
0%
Fix for ruby_1_8 was in r17449 by Matz. These 2 changes are needed to be backported.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ext/stringio/stringio.c?r1=17450&r2=17449&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/test/stringio/test_stringio.rb?r1=17450&r2=17449&diff_format=u
commit log is "wrong commit". Indeed. :-)¶
=end
Updated by nahi (Hiroshi Nakamura) over 14 years ago
=begin
2009/12/4 Hiroshi NAKAMURA redmine@ruby-lang.org:
Fix for ruby_1_8 was in r17449 by Matz. These 2 changes are needed to be backported.
In r17450, not in 17449.
=end
Updated by nahi (Hiroshi Nakamura) over 14 years ago
=begin
2009/12/4 NAKAMURA, Hiroshi nakahiro@gmail.com:
2009/12/4 Hiroshi NAKAMURA redmine@ruby-lang.org:
Fix for ruby_1_8 was in r17449 by Matz. These 2 changes are needed to be backported.
In r17450, not in 17449.
And I found the actual fix is at r17103. Sorry for bothering.
=end
Updated by shyouhei (Shyouhei Urabe) over 14 years ago
- Status changed from Open to Closed
=begin
Applied in changeset r26171.
=end