1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ruby.c (proc_options): option parsing problem.

(ruby-bugs-ja:PR#233)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2002-05-23 07:41:53 +00:00
parent 6e87a54aec
commit 1fe8b37425
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu May 23 16:39:21 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* ruby.c (proc_options): option parsing problem.
(ruby-bugs-ja:PR#233)
Thu May 23 09:13:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): removed "-*-" support for #! line.

3
ruby.c
View file

@ -561,7 +561,6 @@ proc_options(argc, argv)
s += numlen;
}
rb_set_safe_level(v);
s += numlen;
}
goto reswitch;
@ -573,7 +572,7 @@ proc_options(argc, argv)
ruby_incpush(argv[1]);
argc--,argv++;
}
goto reswitch;
break;
case '0':
{