Code:
./src/syncterm/syncterm.c:#include <xp_dl.h> /* xp_dlopen() and friends */
./src/syncterm/syncterm.c: shell32=xp_dlopen(shell32dll, RTLD_LAZY, 6);
./src/syncterm/syncterm.c: ole32=xp_dlopen(ole32dll, RTLD_LAZY, 0);
./src/syncterm/st_crypt.c: cryptlib=xp_dlopen(libnames,RTLD_LAZY, CRYPTLIB_VERSION/1000);
./src/syncterm/syncterm.man:run-time linking is employed using dlopen(). Using this, it is possible to
Binary file ./src/syncterm/gcc.linux.x64.obj.debug-mt/st_crypt.o matches
./src/conio/x_cio.c: if((dl=xp_dlopen(libnames,RTLD_LAZY,7))==NULL)
./src/conio/sdlfuncs.c: if((sdl_dll=xp_dlopen(libnames,RTLD_LAZY|RTLD_GLOBAL,SDL_PATCHLEVEL))==NULL)
./src/conio/sdl_con.c: dl=xp_dlopen(libnames,RTLD_LAZY|RTLD_GLOBAL,7);
./src/xpdev/xpbeep.c: || ((dl=xp_dlopen(libnames,RTLD_LAZY,0))==NULL)
./src/xpdev/xpbeep.c: || ((dl=xp_dlopen(libnames,RTLD_LAZY,2))==NULL)
./src/xpdev/xp_dl.h: DLLEXPORT dll_handle DLLCALL xp_dlopen(const char **name, int mode, int major);
./src/xpdev/xp_dl.h: DLLEXPORT dll_handle DLLCALL xp_dlopen(const char **name, int mode, int major);
./src/xpdev/xp_dl.h: #define xp_dlopen(name, mode, major) (name)
./src/xpdev/xp_dl.c:DLLEXPORT dll_handle DLLCALL xp_dlopen(const char **names, int mode, int major)
./src/xpdev/xp_dl.c: if((ret=dlopen(fname, mode))!=NULL)
./src/xpdev/xp_dl.c: if((ret=dlopen(fname, mode))!=NULL)
./src/xpdev/xp_dl.c: if((ret=dlopen(fname, mode))!=NULL)
./src/xpdev/xp_dl.c: if((ret=dlopen(fname, mode))!=NULL)
./src/xpdev/xp_dl.c: if((ret=dlopen(fname, mode))!=NULL)
./src/xpdev/xp_dl.c: if((ret=dlopen(fname, mode))!=NULL)
./src/xpdev/xp_dl.c: if((ret=dlopen(fname, mode))!=NULL)
./src/xpdev/xp_dl.c:DLLEXPORT dll_handle DLLCALL xp_dlopen(const char **names, int mode, int major)
./src/xpdev/sdlfuncs.c: if((sdl_dll=xp_dlopen(libnames,RTLD_LAZY|RTLD_GLOBAL,SDL_PATCHLEVEL))==NULL)
Binary file ./src/xpdev/gcc.linux.x64.obj.debug-mt/xp_dl.o matches
Binary file ./src/xpdev/gcc.linux.x64.lib.debug/libxpdev_mt.a matches
./3rdp/src/cl/cryptlib.c:/* OS X Snow Leopard broke dlopen(), if it's called from a (sub-)thread then
./3rdp/src/cl/cryptlib.c: it dies with a SIGTRAP. Specifically, if you dlopen() a shared library
./3rdp/src/cl/cryptlib.c: dlopen() checks if the thread is the main thread (specifically
./3rdp/src/cl/cryptlib.c: inability to call dlopen() from a thread was apparently a requirement in
./3rdp/src/cl/kernel/init.c: and __DTOR_LIST__, they're called automatically before dlopen/dlclose
./3rdp/src/cl/kernel/init.c: functions are called before the main() is called or dlopen()
./3rdp/src/cl/misc/os_spec.h: /* Older versions of OS X didn't have dlopen() support but required
./3rdp/src/cl/misc/os_spec.h: installed, get Peter O'Gorman's dlopen() implementation, which wraps
./3rdp/src/cl/misc/os_spec.h: #define DynamicLoad( name ) dlopen( name, RTLD_LAZY )
./3rdp/src/cl/tools/buildall.sh:# OS X Snow Leopard broke dlopen(), if it's called from a (sub-)thread then it
./3rdp/src/cl/tools/buildall.sh:# dies with a SIGTRAP. Specifically, if you dlopen() a shared library linked
./3rdp/src/cl/tools/buildall.sh:# CoreFoundation then the function CFInitialize() inside dlopen() checks if
./3rdp/src/cl/tools/buildall.sh:# echo "This version of OS X Snow Leopard may have a buggy dlopen() that crashes" ;
Bookmarks