[PATCH] define RTLD_LOCAL
Sun Aug 8 05:49:00 GMT 2010
POSIX requires RTLD_LOCAL to be defined in <dlfcn.h>. While our
dlopen() does nothing with its second argument, portable software can
rightfully expect the definition to exist alongside the other RTLD_*
So why 0? POSIX states wrt dlopen():
> If neither RTLD_GLOBAL nor RTLD_LOCAL are specified, then the default
> behavior is unspecified.
On Linux, RTLD_LOCAL is the default behaviour, and hence is defined
as 0, therefore I have done the same here.
Patch attached. Since this doesn't actually do anything, I wasn't sure
if I should bump CYGWIN_VERSION_API_MINOR for this or not; I can
certainly do so before committing if desired.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 800 bytes
Desc: not available
More information about the Cygwin-patches