From: Adam Dickmeiss Date: Thu, 27 Feb 2014 09:01:12 +0000 (+0100) Subject: exsltRegisterAll in proper place X-Git-Tag: v5.0.18~3 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=eb4631c82f3b57fb016234447443268d4f46b933;p=yaz-moved-to-github.git exsltRegisterAll in proper place --- diff --git a/src/init_globals.c b/src/init_globals.c index 0800a4b..81cb966 100644 --- a/src/init_globals.c +++ b/src/init_globals.c @@ -55,11 +55,11 @@ void yaz_init_globals(void) gcry_control(GCRYCTL_INITIALIZATION_FINISHED, NULL, 0); } #endif - yaz_init_flag = 1; - } #if YAZ_HAVE_EXSLT - exsltRegisterAll(); + exsltRegisterAll(); #endif + yaz_init_flag = 1; /* must be last, before unlocking */ + } #if YAZ_POSIX_THREADS pthread_mutex_unlock(&yaz_init_mutex); #endif