From dca2743a1c130f097efcbb2d35fc95dd7dcfe22b Mon Sep 17 00:00:00 2001 From: knu Date: Sun, 6 Feb 2005 03:23:41 +0000 Subject: [PATCH] * 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 --- ChangeLog | 8 ++++++++ bignum.c | 2 +- re.c | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index af4af7d1f0..ab94e63a3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Sun Feb 6 12:20:11 2005 Akinori MUSHA + + * 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(). + Sun Feb 6 03:24:20 2005 Tanaka Akira * lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not diff --git a/bignum.c b/bignum.c index 8100a1e05a..3fecbdcc84 100644 --- a/bignum.c +++ b/bignum.c @@ -751,7 +751,7 @@ unsigned long rb_big2ulong_pack(x) VALUE x; { - unsigned long num = big2ulong(x, "unsigned long", Qfalse); + unsigned long num = big2ulong(x, "unsigned long"); if (!RBIGNUM(x)->sign) { return -num; } diff --git a/re.c b/re.c index 26d1ee956d..a8a82d413b 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; }