[前][次][番号順一覧][スレッド一覧]

ruby-changes:8262

From: matz <ko1@a...>
Date: Wed, 15 Oct 2008 16:48:51 +0900 (JST)
Subject: [ruby-changes:8262] Ruby:r19790 (trunk): * ruby.c (process_options): -U should be allowed in RUBYOPT

matz	2008-10-15 16:48:34 +0900 (Wed, 15 Oct 2008)

  New Revision: 19790

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19790

  Log:
    * ruby.c (process_options): -U should be allowed in RUBYOPT
      environment variable.  [ruby-dev:36720]

  Modified files:
    trunk/ChangeLog
    trunk/ruby.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19789)
+++ ChangeLog	(revision 19790)
@@ -29,6 +29,11 @@
 	  from transcode_tblgen_windows.
 	  (transcode_tblgen_iso8859): use transcode_tblgen_singlebyte.
 
+Tue Oct 14 19:32:14 2008  Yukihiro Matsumoto  <matz@r...>
+
+	* 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@r...>
 
 	* ruby.c (proc_options): -U can be followed by other options.
Index: ruby.c
===================================================================
--- ruby.c	(revision 19789)
+++ ruby.c	(revision 19790)
@@ -1043,7 +1043,7 @@
 		}
 		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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]