diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-16 19:52:55 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-16 19:52:55 +0000 |
commit | 7e7b52d4a6719ca49bef9b15d48ccbf04dff3477 (patch) | |
tree | 1bb807a171af97e3d4c3731c9940ef1fa76253cf /ruby.c | |
parent | b3376c4df6bfd0407a53abf10bc5b7df07edfe89 (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_6@13457 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); } |