aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ruby.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a42d42f9f6..3dbc491fbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Jan 5 01:46:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * ruby.c (proc_options): update according to the last API revert.
+
Sat Jan 5 01:30:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/intern.h, re.c (rb_reg_new): keep interface same as
diff --git a/ruby.c b/ruby.c
index ddcdb3f958..0fabd217da 100644
--- a/ruby.c
+++ b/ruby.c
@@ -694,7 +694,7 @@ proc_options(int argc, char **argv, struct cmdline_options *opt)
case 'F':
if (*++s) {
- rb_fs = rb_reg_new(rb_str_new2(s), 0);
+ rb_fs = rb_reg_new_str(rb_str_new2(s), 0);
}
break;