diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-05 02:27:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-05 02:27:13 +0000 |
commit | af54c1694cc4139d06797475f9091664d83d8a75 (patch) | |
tree | 95e55949112a7ef8883d83fa3177cdbfefdc9a20 /ruby.c | |
parent | c19cba441465b3c51337fe07cf2847f19c137ab0 (diff) | |
download | ruby-af54c1694cc4139d06797475f9091664d83d8a75.tar.gz |
* ruby.c (load_file_internal): decrement for ungotten line.
[ruby-dev:42680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1551,6 +1551,7 @@ load_file_internal(VALUE arg) rb_funcall(f, set_encoding, 1, rb_enc_from_encoding(enc)); if (xflag || opt->xflag) { + line_start--; search_shebang: forbid_setid("-x"); opt->xflag = FALSE; |