summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-16 22:39:04 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-16 22:39:04 +0000
commitbda02ffe2dbba4c3a7174a6bd14fd98b200eb13f (patch)
tree42d8ed545ee6dca9f5748ef7531e79c621da7d3d
parent2ba22d68519872b18a3b61490b6b78e2a7aca013 (diff)
downloadruby-bda02ffe2dbba4c3a7174a6bd14fd98b200eb13f.tar.gz
ruby-bda02ffe2dbba4c3a7174a6bd14fd98b200eb13f.tar.xz
ruby-bda02ffe2dbba4c3a7174a6bd14fd98b200eb13f.zip
* re.c (rb_reg_initialize_m): changed the message to clarify the
third option argument is now ignored. [ruby-dev:36753] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--re.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ca156bb39..fa5c991b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -51,6 +51,11 @@ Thu Oct 16 14:30:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* instruby.rb (lib): installs all files other than README etc.
+Thu Oct 16 09:48:03 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * re.c (rb_reg_initialize_m): changed the message to clarify the
+ third option argument is now ignored. [ruby-dev:36753]
+
Thu Oct 16 08:14:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ruby.c (proc_options): no warning when default_external already
diff --git a/re.c b/re.c
index 03d9dc352..48a12ee3b 100644
--- a/re.c
+++ b/re.c
@@ -2798,7 +2798,7 @@ rb_reg_initialize_m(int argc, VALUE *argv, VALUE self)
flags |= ARG_ENCODING_FIXED;
}
else {
- rb_warning("encoding option is obsolete - %s", kcode);
+ rb_warn("encoding option is ignored - %s", kcode);
}
}
str = argv[0];