From 7e9ad1befb1f90fdac83f8e89ebd5878433ebdcf Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 15 Oct 2008 07:48:34 +0000 Subject: * ruby.c (process_options): -U should be allowed in RUBYOPT environment variable. [ruby-dev:36720] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ruby.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9acc53224..e20c3f485 100644 --- a/ChangeLog +++ b/ChangeLog @@ -29,6 +29,11 @@ Tue Oct 14 20:32:09 2008 Tanaka Akira from transcode_tblgen_windows. (transcode_tblgen_iso8859): use transcode_tblgen_singlebyte. +Tue Oct 14 19:32:14 2008 Yukihiro Matsumoto + + * ruby.c (process_options): -U should be allowed in RUBYOPT + environment variable. [ruby-dev:36720] + Tue Oct 14 14:11:17 2008 Nobuyoshi Nakada * ruby.c (proc_options): -U can be followed by other options. diff --git a/ruby.c b/ruby.c index 5420b94aa..edce4777b 100644 --- a/ruby.c +++ b/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); -- cgit