Bug #1262 ยป dl_handle.patch
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);
|
||
}
|