summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-06 03:23:41 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-06 03:23:41 +0000
commitdca2743a1c130f097efcbb2d35fc95dd7dcfe22b (patch)
tree59089917e5bea977d2b1d31b220e6f510bb21eae /re.c
parent9e21bb08c141d11e18f115e00edaed780a33dbc2 (diff)
* bignum.c (rb_big2ulong_pack): One too many arguments are passed
to big2ulong(). * re.c (_reg_init_copy, rb_reg_initialize_m): One too many arguments are passed to rb_reg_initialize(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/re.c b/re.c
index 26d1ee9..a8a82d4 100644
--- a/re.c
+++ b/re.c
@@ -1709,7 +1709,7 @@ rb_reg_initialize_m(argc, argv, self)
s = StringValuePtr(argv[0]);
len = RSTRING(argv[0])->len;
}
- rb_reg_initialize(self, s, len, flags, Qtrue);
+ rb_reg_initialize(self, s, len, flags);
return self;
}
@@ -1983,7 +1983,7 @@ rb_reg_init_copy(copy, re)
}
rb_reg_check(re);
rb_reg_initialize(copy, RREGEXP(re)->str, RREGEXP(re)->len,
- rb_reg_options(re), Qfalse);
+ rb_reg_options(re));
return copy;
}