diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/-test-/bignum/depend | 2 | ||||
-rw-r--r-- | ext/-test-/bignum/intpack.c (renamed from ext/-test-/bignum/pack.c) | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Fri Jul 19 01:04:14 2013 Tanaka Akira <akr@fsij.org> + + * ext/-test-/bignum/intpack.c: Renamed from ext/-test-/bignum/pack.c. + (Init_intpack): Renamed from Init_pack. + Reported by Naohisa Goto. [ruby-dev:47526] [Bug #8655] + Fri Jul 19 00:54:27 2013 Benoit Daloze <eregontp@gmail.com> * test/ruby/test_array.rb (test_count): add a test case for #count diff --git a/ext/-test-/bignum/depend b/ext/-test-/bignum/depend index c8ddefb6fb..947441064c 100644 --- a/ext/-test-/bignum/depend +++ b/ext/-test-/bignum/depend @@ -1,4 +1,4 @@ $(OBJS): $(HDRS) $(ruby_headers) -pack.o: pack.c $(top_srcdir)/internal.h +intpack.o: intpack.c $(top_srcdir)/internal.h mul.o: mul.c $(top_srcdir)/internal.h diff --git a/ext/-test-/bignum/pack.c b/ext/-test-/bignum/intpack.c index 503866938f..909294d88c 100644 --- a/ext/-test-/bignum/pack.c +++ b/ext/-test-/bignum/intpack.c @@ -46,7 +46,7 @@ rb_integer_unpack_m(VALUE klass, VALUE buf, VALUE numwords, VALUE wordsize, VALU } void -Init_pack(VALUE klass) +Init_intpack(VALUE klass) { rb_define_method(rb_cInteger, "test_pack_raw", rb_integer_pack_raw_m, 5); rb_define_method(rb_cInteger, "test_pack", rb_integer_pack_m, 4); |