[Openmcl-cvs-notifications] r15234 - /trunk/source/lisp-kernel/pmcl-kernel.c
gb at clozure.com
gb at clozure.com
Tue Mar 6 18:35:44 CST 2012
Author: gb
Date: Tue Mar 6 18:35:44 2012
New Revision: 15234
Log:
Hopefully temporary bug workaround: make xGetSharedLibrary() always
return a null pointer on Android, since on some devices dlopen()
sometimes returns something unexpected.
Modified:
trunk/source/lisp-kernel/pmcl-kernel.c
Modified: trunk/source/lisp-kernel/pmcl-kernel.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/lisp-kernel/pmcl-kernel.c (original)
+++ trunk/source/lisp-kernel/pmcl-kernel.c Tue Mar 6 18:35:44 2012
@@ -2147,7 +2147,12 @@
void *
xGetSharedLibrary(char *path, int mode)
{
+#ifdef ANDROID
+ /* Hopefully temporary bug workaround */
+ return NULL;
+#else
return dlopen(path, mode);
+#endif
}
#endif
#else
More information about the Openmcl-cvs-notifications
mailing list