summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--intl/ChangeLog4
-rw-r--r--intl/dcigettext.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog
index 0a72247..fc384de 100644
--- a/intl/ChangeLog
+++ b/intl/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-12 Bruno Haible <haible@clisp.cons.org>
+
+ * dcigettext.c (DCIGETTEXT): Release the lock before returning.
+
2001-04-30 Bruno Haible <haible@clisp.cons.org>
Silence "gcc -Wall -Wwrite-strings" warnings.
diff --git a/intl/dcigettext.c b/intl/dcigettext.c
index 8456550..b7627bf 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