From: Hiroshi NAKAMURA Date: 2009-12-08T21:17:28+09:00 Subject: [ruby-core:27099] [Bug #1693] ARGF.rewind Doesn't Reset ARGF.lineno Issue #1693 has been updated by Hiroshi NAKAMURA. 0% ruby19 -ve 'ARGF.gets; ARGF.rewind; p [ARGF.lineno, $.]; ARGF.gets; p [ARGF.lineno, $.]' ~/.zshhist ruby 1.9.2dev (2009-12-01 trunk 25970) [i686-linux] [0, 1] [1, 1] 0% ruby -ve 'ARGF.gets; ARGF.rewind; p [ARGF.lineno, $.]; ARGF.gets; p [ARGF.lineno, $.]' ~/.zshhist ruby 1.8.8dev (2009-12-07 revision 25983) [i686-linux] [1, 1] [1, 1] 0% ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1693 ---------------------------------------- http://redmine.ruby-lang.org