From: Bruno Haible Date: Thu, 14 Jun 2001 14:47:58 +0000 (+0000) Subject: Fix locking inside libc. X-Git-Tag: v0.11~657 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66662c6480489904c87b8dc569dae3cbb2589b05;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