diff --git a/catalog.c b/catalog.c index 521f218a..80621768 100644 --- a/catalog.c +++ b/catalog.c @@ -3128,6 +3128,7 @@ xmlLoadCatalog(const char *filename) xmlDefaultCatalog = catal; xmlRMutexUnlock(&xmlCatalogMutex); + xmlCatalogInitialized = 1; return(0); } @@ -3348,6 +3349,7 @@ xmlCatalogAdd(const xmlChar *type, const xmlChar *orig, const xmlChar *replace) orig, NULL, xmlCatalogDefaultPrefer, NULL); } xmlRMutexUnlock(&xmlCatalogMutex); + xmlCatalogInitialized = 1; return(0); }