From: Bruno Haible Date: Tue, 24 Jul 2001 12:52:54 +0000 (+0000) Subject: Fix locking inside libc. X-Git-Tag: v0.10.39~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c591941a7de2b4700934d035c140721ee3ecaa52;p=thirdparty%2Fgettext.git Fix locking inside libc. --- diff --git a/intl/ChangeLog b/intl/ChangeLog index 0a72247b2..fc384de4a 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,7 @@ +2001-06-12 Bruno Haible + + * dcigettext.c (DCIGETTEXT): Release the lock before returning. + 2001-04-30 Bruno Haible Silence "gcc -Wall -Wwrite-strings" warnings. diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 8456550d0..b7627bf61 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -517,6 +517,7 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) /* We cannot get the current working directory. Don't signal an error but simply return the default string. */ FREE_BLOCKS (block_list); + __libc_rwlock_unlock (_nl_state_lock); __set_errno (saved_errno); return (plural == 0 ? (char *) msgid1