about summary refs log tree commit diff
path: root/intl/dcigettext.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-06-14 00:45:57 +0000
committerUlrich Drepper <drepper@redhat.com>2001-06-14 00:45:57 +0000
commit6999d70e2fdee6297545aa593cfcd8bf2d35afd3 (patch)
tree6d0ae4f853c27a6de4721bcdf9674c60bae43420 /intl/dcigettext.c
parentd002205fd2688a6be32bed2e61ffa3192a0105be (diff)
downloadglibc-6999d70e2fdee6297545aa593cfcd8bf2d35afd3.tar.gz
glibc-6999d70e2fdee6297545aa593cfcd8bf2d35afd3.tar.xz
glibc-6999d70e2fdee6297545aa593cfcd8bf2d35afd3.zip
Update.
	* libio/iolibio.h (_IO_freopen): Correct last parameter to
	_IO_file_open.
	(_IO_freopen64): Likewise.
	Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].

	* elf/elf.h: Add a few more EM_* constants.

2001-06-12  Bruno Haible  <haible@clisp.cons.org>

	* intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.

2001-06-09  Ben Collins  <bcollins@debian.org>

	* sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
	hardcoded B400000.

2001-06-13  Ulrich Drepper  <drepper@redhat.com>
Diffstat (limited to 'intl/dcigettext.c')
-rw-r--r--intl/dcigettext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/intl/dcigettext.c b/intl/dcigettext.c
index 944983decc..d2b903c3f3 100644
--- a/intl/dcigettext.c
+++ b/intl/dcigettext.c
@@ -495,6 +495,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