mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby.c (proc_options): -W should be allowed in RUBYOPT
environment variable. [ruby-core:12118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9391daf954
commit
9019911a2f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ruby.c (proc_options): -W should be allowed in RUBYOPT
|
||||
environment variable. [ruby-core:12118]
|
||||
|
||||
Wed Sep 12 15:19:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (rb_io_s_sysopen): should not use alloca for unknowen size
|
||||
|
|
2
ruby.c
2
ruby.c
|
@ -821,7 +821,7 @@ proc_options(int argc, char **argv)
|
|||
}
|
||||
if (!*s)
|
||||
break;
|
||||
if (!strchr("IdvwrK", *s))
|
||||
if (!strchr("IdvwWrK", *s))
|
||||
rb_raise(rb_eRuntimeError,
|
||||
"illegal switch in RUBYOPT: -%c", *s);
|
||||
s = moreswitches(s);
|
||||
|
|
Loading…
Reference in a new issue