Project

General

Profile

Actions

Backport #4118

closed

ruby -x で実行すると行がずれる

Added by metanest (Makoto Kishimoto) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
[ruby-dev:42680]

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

Actions #1

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

Actions #2

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

Actions #3

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

Also available in: Atom PDF

Like0
Like0Like0Like0