components/libxml2/patches/02.globals-fix.patch
author Nobutomo Nakano <nobutomo.nakano@oracle.com>
Mon, 08 Oct 2012 19:44:45 -0700
branchs11u1-sru
changeset 2370 c539542fe61d
parent 284 ca417a821aee
permissions -rw-r--r--
7198440 update zoneinfo timezones to 2012f (Fiji)

--- 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();
 }