about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-28 08:30:50 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-28 08:30:50 +0000
commit0566b130fbb77c2673d0459b4d9ff825fc68b094 (patch)
treeb97f81bcd1d03f95d3b2bd90749b7aac27b28908 /nptl
parente6fb884634cded8d92da107d09354409ac1f52a5 (diff)
downloadglibc-0566b130fbb77c2673d0459b4d9ff825fc68b094.tar.gz
glibc-0566b130fbb77c2673d0459b4d9ff825fc68b094.tar.xz
glibc-0566b130fbb77c2673d0459b4d9ff825fc68b094.zip
Update.
2003-01-21  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S3
2 files changed, 6 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 8efb7a647d..9f5080b8aa 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,9 @@
 2003-01-27  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S
+	(__new_sem_post): Clear %eax before returning.
+	Reported by MAEDA Naoaki <maeda.naoaki@jp.fujitsu.com>.
+
 	* Makefile (tests): Add tst-cleanup2.
 	* tst-cleanup2.c: New file.
 
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S
index dd7d34e30f..1e32ec0767 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -277,6 +277,7 @@ __new_sem_post:
 	testl	%eax, %eax
 	js	1f
 
+	xorl	%eax, %eax
 	popl	%ebx
 	popl	%esi
 	ret