mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-02 16:01:20 +03:00
* intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock
when we cannot recode the message.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2007-10-13 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
|
* intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock
|
||||||
|
when we cannot recode the message.
|
||||||
|
|
||||||
2007-10-13 Ulrich Drepper <drepper@redhat.com>
|
2007-10-13 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
[BZ #4359]
|
[BZ #4359]
|
||||||
|
@@ -974,6 +974,7 @@ _nl_find_msg (domain_file, domainbinding, msgid, convert, lengthp)
|
|||||||
translation at all. */
|
translation at all. */
|
||||||
if (__builtin_expect (r != __GCONV_NULCONV, 1))
|
if (__builtin_expect (r != __GCONV_NULCONV, 1))
|
||||||
{
|
{
|
||||||
|
__libc_rwlock_unlock (domain->conversions_lock);
|
||||||
free ((char *) encoding);
|
free ((char *) encoding);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user