[pypy-svn] r66235 - pypy/trunk/pypy/rpython/lltypesystem

fijal at codespeak.net fijal at codespeak.net
Wed Jul 15 15:02:36 CEST 2009


Author: fijal
Date: Wed Jul 15 15:02:36 2009
New Revision: 66235

Modified:
   pypy/trunk/pypy/rpython/lltypesystem/ll2ctypes.py
Log:
write down explanation in a comment why I removed RTLD_GLOBAL


Modified: pypy/trunk/pypy/rpython/lltypesystem/ll2ctypes.py
==============================================================================
--- pypy/trunk/pypy/rpython/lltypesystem/ll2ctypes.py	(original)
+++ pypy/trunk/pypy/rpython/lltypesystem/ll2ctypes.py	Wed Jul 15 15:02:36 2009
@@ -833,6 +833,9 @@
                     libpath = libname
             if libpath:
                 dllclass = getattr(ctypes, calling_conv + 'dll')
+                # on ie slackware there was need for RTLD_GLOBAL here.
+                # this breaks a lot of things, since passing RTLD_GLOBAL
+                # creates symbol conflicts on C level.
                 clib = dllclass._dlltype(libpath)
                 cfunc = get_on_lib(clib, funcname)
                 if cfunc is not None:



More information about the Pypy-commit mailing list