[project @ 2004-01-05 17:32:35 by simonmar]
Instead of grabbing the handle to the executable by calling dlopen(NULL,...), use RTLD_DEFAULT as the handle to lookup symbols if it is available. It seems that RTLD_DEFAULT may be required on certain systems, although I'm not sure it is available everywhere, so I've left the old code as fallback in case it isn't available.
Please register or sign in to comment