Ruby9i 0.2.1 release is broken

P

Paul Williams

Jim,

Thanks for updating ruby9i. Unfortunately, there is a bug in the
v0.2.1. Per your release notes you removed the debug printf's that
were in the previous version. This is a great idea, except one of the
printf's (apparently) has an embedded function call that is necessary,
and cannot be removed.

The following printf appears in v0.2.0 of datatype.c.

printf("typehash=%s\n", RSTRING(rb_funcall(typehash,
rb_intern("inspect"), 0))->ptr);

By putting the following RSTRING() call back into v0.2.1 where the
debug printf used to be makes v0.2.1 much happier.

RSTRING(rb_funcall(typehash, rb_intern("inspect"), 0))->ptr;

I hope this helps.
-Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top