commit | 5805be2921d68e7728797b2f4d43a0b57a476507 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Thu Aug 28 08:03:23 2003 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Thu Aug 28 08:03:23 2003 +0000 |
tree | b2314b0a2401ad832c3989f773766ee1948189f0 | |
parent | 1ac24d36b12487995b659a8fc23a02b9460edb36 [diff] [blame] |
fixing bug #120870 try to avoid problem with uninitialized mutexes Daniel * globals.c threads.c: fixing bug #120870 try to avoid problem with uninitialized mutexes Daniel
diff --git a/globals.c b/globals.c index 5342340..2cddaa8 100644 --- a/globals.c +++ b/globals.c
@@ -480,6 +480,9 @@ /* * Perform initialization as required by libxml */ + if (xmlThrDefMutex == NULL) + xmlInitGlobals(); + xmlMutexLock(xmlThrDefMutex); #ifdef LIBXML_DOCB_ENABLED