Skip to content

Commit 98e6f9a

Browse files
author
matz
committed
* 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
1 parent 1e8bbf3 commit 98e6f9a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ Thu Oct 16 14:30:30 2008 Nobuyoshi Nakada <[email protected]>
5151

5252
* instruby.rb (lib): installs all files other than README etc.
5353

54+
Thu Oct 16 09:48:03 2008 Yukihiro Matsumoto <[email protected]>
55+
56+
* re.c (rb_reg_initialize_m): changed the message to clarify the
57+
third option argument is now ignored. [ruby-dev:36753]
58+
5459
Thu Oct 16 08:14:39 2008 Yukihiro Matsumoto <[email protected]>
5560

5661
* ruby.c (proc_options): no warning when default_external already

re.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2798,7 +2798,7 @@ rb_reg_initialize_m(int argc, VALUE *argv, VALUE self)
27982798
flags |= ARG_ENCODING_FIXED;
27992799
}
28002800
else {
2801-
rb_warning("encoding option is obsolete - %s", kcode);
2801+
rb_warn("encoding option is ignored - %s", kcode);
28022802
}
28032803
}
28042804
str = argv[0];

0 commit comments

Comments
 (0)