Mercurial > hg > xemacs-beta
diff src/sysdll.c @ 880:beddd25fe24a
[xemacs-hg @ 2002-06-24 22:00:17 by youngs]
2002-06-17 Jerry James <james@xemacs.org>
* emodules.texi (Loading other Modules): Describe why we do not
use RTLD_GLOBAL.
2002-06-17 Jerry James <james@xemacs.org>
* sysdll.c: Remove RTLD_GLOBAL initialization.
* sysdll.c (dll_open): Do not use RTLD_GLOBAL.
author | youngs |
---|---|
date | Mon, 24 Jun 2002 22:00:25 +0000 |
parents | 42375619fa45 |
children | df61d2b1d4c3 |
line wrap: on
line diff
--- a/src/sysdll.c Mon Jun 24 10:01:22 2002 +0000 +++ b/src/sysdll.c Mon Jun 24 22:00:25 2002 +0000 @@ -38,10 +38,6 @@ # define RTLD_LAZY 1 #endif /* RTLD_LAZY isn't defined under FreeBSD - ick */ -#ifndef RTLD_GLOBAL -# define RTLD_GLOBAL 0 -#endif - #ifndef RTLD_NOW # define RTLD_NOW 2 #endif @@ -55,7 +51,7 @@ dll_handle dll_open (const char *fname) { - return (dll_handle) dlopen (fname, RTLD_NOW | RTLD_GLOBAL); + return (dll_handle) dlopen (fname, RTLD_NOW); } int