ext/FireRubyException.c in rubyfb-0.5.4 vs ext/FireRubyException.c in rubyfb-0.5.5
- old
+ new
@@ -225,10 +225,10 @@
*/
void rb_fireruby_raise(ISC_STATUS *status, const char *message)
{
VALUE text = decodeException(status, message);
- rb_raise(cFireRubyException, STR2CSTR(text));
+ rb_raise(cFireRubyException, StringValuePtr(text));
}
/**
* This function integrates with the Ruby garbage collector to insure that the