Project

General

Profile

Actions

Backport #2432

closed

StringIO#reopen incomplete initialization

Added by nahi (Hiroshi Nakamura) over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
[ruby-core:27026]

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

Actions #1

Updated by nahi (Hiroshi Nakamura) over 14 years ago

=begin
2009/12/4 Hiroshi NAKAMURA :

Fix for ruby_1_8 was in r17449 by Matz. These 2 changes are needed to be backported.

In r17450, not in 17449.
=end

Actions #2

Updated by nahi (Hiroshi Nakamura) over 14 years ago

=begin
2009/12/4 NAKAMURA, Hiroshi :

2009/12/4 Hiroshi NAKAMURA :

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

Actions #3

Updated by shyouhei (Shyouhei Urabe) over 14 years ago

  • Status changed from Open to Closed

=begin
Applied in changeset r26171.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0