Actions
Backport #4118
closedruby -x で実行すると行がずれる
Status:
Closed
Assignee:
Description
=begin
以下のように、
$ 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 では発生しません。
=end
Updated by nobu (Nobuyoshi Nakada) over 13 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
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.
=end
Updated by nobu (Nobuyoshi Nakada) over 13 years ago
- Category set to core
- Status changed from Closed to Assigned
- Assignee set to yugui (Yuki Sonoda)
=begin
=end
Updated by yugui (Yuki Sonoda) over 13 years ago
- Status changed from Assigned to Closed
=begin
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.
=end
Actions
Like0
Like0Like0Like0