https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112010-01-22T15:03:43ZRuby Issue Tracking SystemBackport191 - Bug #2020: ARGF.lineno and $. give inconsistent resultshttps://bugs.ruby-lang.org/issues/2020?journal_id=77582010-01-22T15:03:43Zznz (Kazuhiro NISHIYAMA)
<ul><li><strong>File</strong> <a href="/attachments/815">argf-lineno.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/815/argf-lineno.diff">argf-lineno.diff</a> added</li><li><strong>Category</strong> set to <i>core</i></li></ul><p>=begin<br>
I reproduced on ruby 1.9.2dev (2010-01-22 trunk 26370) [x86_64-linux] too.<br>
And I think an attached patch fixes the problem on trunk.</p>
<p>=end</p> Backport191 - Bug #2020: ARGF.lineno and $. give inconsistent resultshttps://bugs.ruby-lang.org/issues/2020?journal_id=101312010-04-12T22:42:15Zmarcandre (Marc-Andre Lafortune)marcandre-ruby-core@marc-andre.ca
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>=begin<br>
Patch applied in r27308<br>
Peter, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.<br>
=end</p>