You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2002/03/11 12:41:11 UTC
cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_vm_default.c
hgomez 02/03/11 03:41:11
Modified: jk/native2/common jk_vm_default.c
Log:
PR: Back port correction to patch 6817 where RTLD_GLOBAL
is used but could be missing (probably outdated OS)
Revision Changes Path
1.5 +12 -0 jakarta-tomcat-connectors/jk/native2/common/jk_vm_default.c
Index: jk_vm_default.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_vm_default.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- jk_vm_default.c 21 Feb 2002 11:13:23 -0000 1.4
+++ jk_vm_default.c 11 Mar 2002 11:41:11 -0000 1.5
@@ -96,6 +96,18 @@
#define JNI_VERSION_1_1 0x00010001
#endif
+/* probably on an older system that doesn't support RTLD_NOW or RTLD_LAZY.
+ * The below define is a lie since we are really doing RTLD_LAZY since the
+ * system doesn't support RTLD_NOW.
+ */
+#ifndef RTLD_NOW
+#define RTLD_NOW 1
+#endif
+
+#ifndef RTLD_GLOBAL
+#define RTLD_GLOBAL 0
+#endif
+
#define null_check(e) if ((e) == 0) return JK_FALSE
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>