14359e4485
this is better then nothing, and will help the 1.8 -> 1.9 transition PR: ports/160404 Submitted by: Mikhail T. <mi@aldan.algebra.com> Approved by: maintainer timeout (jpaetzel ; 158 days) Sponsored by: RideCharge Inc. / TaxiMagic
10 lines
462 B
Text
10 lines
462 B
Text
--- src/delegate.c 2006-09-19 13:06:40.000000000 -0400
|
|
+++ src/delegate.c 2011-09-02 13:28:23.000000000 -0400
|
|
@@ -171,5 +171,6 @@
|
|
ary = rb_class_instance_methods(1, &tmp, rb_mKernel);
|
|
for (i = 0; i < RARRAY_LEN(ary); i++) {
|
|
- method = StringValuePtr(RARRAY_PTR(ary)[i]);
|
|
+ tmp = rb_obj_as_string(RARRAY_PTR(ary)[i]);
|
|
+ method = StringValuePtr(tmp);
|
|
if (!strcmp(method, "==") ||
|
|
!strcmp(method, "===") || !strcmp(method, "=~")) continue;
|