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): removed "-*-" support for #! line.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2002-05-23 05:36:28 +00:00
parent b4672c518e
commit 747f9a2734
2 changed files with 4 additions and 5 deletions

View file

@ -1,3 +1,7 @@
Thu May 23 09:13:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): removed "-*-" support for #! line.
Wed May 22 21:36:11 2002 Tadayoshi Funaba <tadf@dotrb.org>
* lib/parsedate.rb: updated to the new version (based on date2 2.6.1).

5
ruby.c
View file

@ -621,11 +621,6 @@ proc_options(argc, argv)
}
break;
case '*':
case ' ':
if (s[1] == '-') s+=2;
break;
default:
fprintf(stderr, "%s: invalid option -%c (-h will show valid options)\n",
origargv[0], *s);