Skip to content

Commit

Permalink
* intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock
Browse files Browse the repository at this point in the history
	when we cannot recode the message.
  • Loading branch information
Ulrich Drepper committed Oct 13, 2007
1 parent 7e39d80 commit 656f02c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

[BZ #4359]
Expand Down
1 change: 1 addition & 0 deletions intl/dcigettext.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 656f02c

Please sign in to comment.