1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* re.c (rb_reg_initialize_m): changed the message to clarify the

third option argument is now ignored.  [ruby-dev:36753]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-10-16 22:39:04 +00:00
parent 1e8bbf3154
commit 98e6f9a79c
2 changed files with 6 additions and 1 deletions

View file

@ -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

2
re.c
View file

@ -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];