summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-16 19:52:55 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-16 19:52:55 +0000
commit7e7b52d4a6719ca49bef9b15d48ccbf04dff3477 (patch)
tree1bb807a171af97e3d4c3731c9940ef1fa76253cf /ruby.c
parentb3376c4df6bfd0407a53abf10bc5b7df07edfe89 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 5d544e7cad..bb7a9d0cda 100644
--- a/ruby.c
+++ b/ruby.c
@@ -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);
}