summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--ruby.c2
-rw-r--r--version.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a8ecbd..9dac6de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Sep 17 04:52:21 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * ruby.c (proc_options): -W should be allowed in RUBYOPT
+ environment variable. [ruby-core:12118]
+
Mon Sep 17 04:37:10 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* range.c (range_step): fixed integer overflow. [ruby-dev:31763]
diff --git a/ruby.c b/ruby.c
index 5d544e7..bb7a9d0 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);
}
diff --git a/version.h b/version.h
index fe3700c..8d0e635 100644
--- a/version.h
+++ b/version.h
@@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2007-09-17"
#define RUBY_VERSION_CODE 186
#define RUBY_RELEASE_CODE 20070917
-#define RUBY_PATCHLEVEL 102
+#define RUBY_PATCHLEVEL 103
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8