aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-17 07:08:51 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-17 07:08:51 +0000
commit71b1675eed1792430695bbd09e4882569c45e16a (patch)
tree8fe38b34aa07955cfa2d7ee201bdb08841fdf07d /nptl
parent33d5279258825463ffd51d7b810340bb56f11083 (diff)
downloadglibc-71b1675eed1792430695bbd09e4882569c45e16a.tar
glibc-71b1675eed1792430695bbd09e4882569c45e16a.tar.gz
glibc-71b1675eed1792430695bbd09e4882569c45e16a.tar.bz2
glibc-71b1675eed1792430695bbd09e4882569c45e16a.zip
Update.
* stdlib/test-canon.c (do_test): Test realpath(,NULL) in the loop as well.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog6
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S4
2 files changed, 10 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 677e334a7e..2e18bfb6f9 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-16 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
+ (__condvar_tw_cleanup): Little optimization.
+ Patch by Dinakar Guniguntala <dgunigun@in.ibm.com>.
+
2004-02-16 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Replace libc with
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
index 1783095ff8..6d1a325b9b 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
@@ -401,7 +401,11 @@ __condvar_tw_cleanup:
adcl $0, woken_seq+4(%ebx)
LOCK
+#if cond_lock == 0
+ subl $1, (%ebx)
+#else
subl $1, cond_lock(%ebx)
+#endif
je 2f
#if cond_lock == 0