mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby.c (process_options): -U should be allowed in RUBYOPT
environment variable. [ruby-dev:36720] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7370c38456
commit
40adf66644
2 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,11 @@ Tue Oct 14 20:32:09 2008 Tanaka Akira <akr@fsij.org>
|
|||
from transcode_tblgen_windows.
|
||||
(transcode_tblgen_iso8859): use transcode_tblgen_singlebyte.
|
||||
|
||||
Tue Oct 14 19:32:14 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ruby.c (process_options): -U should be allowed in RUBYOPT
|
||||
environment variable. [ruby-dev:36720]
|
||||
|
||||
Tue Oct 14 14:11:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (proc_options): -U can be followed by other options.
|
||||
|
|
2
ruby.c
2
ruby.c
|
@ -1043,7 +1043,7 @@ process_options(VALUE arg)
|
|||
}
|
||||
if (!*s)
|
||||
break;
|
||||
if (!strchr("EIdvwWrK", *s))
|
||||
if (!strchr("EIdvwWrKU", *s))
|
||||
rb_raise(rb_eRuntimeError,
|
||||
"invalid switch in RUBYOPT: -%c", *s);
|
||||
s = moreswitches(s, opt);
|
||||
|
|
Loading…
Add table
Reference in a new issue