diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-12 14:17:33 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-12 14:17:33 +0000 |
commit | 1232fd4a9b4460728ba92e2997144413ef6849b1 (patch) | |
tree | c3c6807f77ac73dd913ecc233fbba7980e2eeee3 /ruby.c | |
parent | 3b91a5dc33e0e8dca3b3cc77805c872e9af68145 (diff) |
* 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/branches/ruby_1_8@13434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -775,7 +775,7 @@ proc_options(argc, 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); } |