[Ruby 1.9-Bug#4118][Open] ruby -x で実行すると行がずれる

Bug #4118: ruby -x で実行すると行がずれる
http://redmine.ruby-lang.org/issues/show/4118

起票者: Makoto K.
ステータス: Open, 優先度: Low
カテゴリ: core, Target version: 1.9.x
ruby -v: ruby 1.9.3dev (2010-12-04 trunk 30079) [x86_64-freebsd8.2]

以下のように、

$ cat -n hoge.rb
1 #!/bin/sh
2 exec ruby19 -x “$0” “$@”
3 #!ruby
4 raise
$ ruby19 hoge.rb
hoge.rb:4:in <main>': unhandled exception $ ./hoge.rb ./hoge.rb:5:in ': unhandled exception

-x オプションを使って実行すると、エラーメッセージで表示される行が1行大きいものになります。
ruby 1.8 では発生しません。

チケット #4118 が更新されました。 (by Nobuyoshi N.)

ステータス OpenからClosedに変更
進捗 % 0から100に変更

This issue was solved with changeset r30084.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

チケット #4118 が更新されました。 (by Yuki S.)

ステータス AssignedからClosedに変更

This issue was solved with changeset r30309.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.