Project

General

Profile

Bug #1262 ยป dl_handle.patch

cfis (Charlie Savage), 03/11/2009 04:41 AM

View differences:

ext/dl/handle.c (working copy)
CHECK_DLERROR;
if( func ) break;
}
xfree(name_n);
if( func ) goto found;
if( func ){
xfree(name_n);
goto found;
}
name_n[len-1] = 'A';
name_n[len++] = '@';
for( i = 0; i < 256; i += 4 ){
......
CHECK_DLERROR;
if( func ) break;
}
xfree(name_n);
if( !func ){
rb_raise(rb_eDLError, "unknown symbol \"%s\"", name);
}
    (1-1/1)