Hello, I am working on src/dynext.c and I ran across this in get_path.
if (lib == NULL) {
*handle = Parrot_dlopen((char *)NULL);
if (*handle) {
return string_from_const_cstring(interp, "", 0);
}
err = Parrot_dlerror();
Parrot_warn(interp, PARROT_WARNINGS_DYNEXT_FLAG,
"Couldn't dlopen(NULL): %s\n",
err ? err : "unknown reason");
return NULL;
}
It may be a RTFM, but what does a null dlopen mean if it
succeeds, and why is it here ?
Cheers,
Mike Mattie
signature.asc
Description: PGP signature
