From e0afcb07befee4fcbbd55925313ced99c8680527 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Sun, 16 Sep 2007 19:51:38 +0000 Subject: * 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_5@13455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index 087da558de..9777695175 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); } -- cgit v1.2.3