summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-18 16:07:03 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-18 16:07:03 +0000
commitccdc9ecf646c2743d3bc9af2d3b2548deec16167 (patch)
tree9bfee63057e83966538fe1f7f42bf8a483e48531 /ext
parentc306d81711319efb4a6287840051c137f75a7743 (diff)
* 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/-test-/bignum/depend2
-rw-r--r--ext/-test-/bignum/intpack.c (renamed from ext/-test-/bignum/pack.c)2
2 files changed, 2 insertions, 2 deletions
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);