From: Ulrich Drepper Date: Sat, 13 Oct 2007 17:06:29 +0000 (+0000) Subject: * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock X-Git-Tag: upstream/2.30~14579 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=656f02ce5b080fa4dfdd7c6f0ee52aa30b94c880;p=external%2Fglibc.git * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock when we cannot recode the message. --- diff --git a/ChangeLog b/ChangeLog index 99ae63e..ede6541 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-13 Bruno Haible + + * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock + when we cannot recode the message. + 2007-10-13 Ulrich Drepper [BZ #4359] diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 55dcaab..a2cd801 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -974,6 +974,7 @@ _nl_find_msg (domain_file, domainbinding, msgid, convert, lengthp) translation at all. */ if (__builtin_expect (r != __GCONV_NULCONV, 1)) { + __libc_rwlock_unlock (domain->conversions_lock); free ((char *) encoding); return NULL; }