* 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
This commit is contained in:
knu 2005-02-06 03:23:41 +00:00
parent 9e21bb08c1
commit dca2743a1c
3 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,11 @@
Sun Feb 6 12:20:11 2005 Akinori MUSHA <knu@iDaemons.org>
* 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 <akr@m17n.org>
* lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not

View file

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

4
re.c
View file

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