components/libxml2/patches/globals-fix.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 24 Mar 2011 12:44:50 -0700
changeset 148 33ca3897ae25
permissions -rw-r--r--
7029701 libxml2 should move to userland 7029702 libxslt should move to userland

--- libxml2-2.7.6/globals.c.fix	Tue Oct 13 20:13:06 2009
+++ libxml2-2.7.6/globals.c	Tue Oct 13 20:13:28 2009
@@ -46,7 +46,7 @@
  */
 void xmlInitGlobals(void)
 {
-    if (xmlThrDefMutex != NULL)
+    if (xmlThrDefMutex == NULL)
         xmlThrDefMutex = xmlNewMutex();
 }