diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-01 04:09:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-01 04:09:55 +0000 |
commit | 31195be25b5cd8e88426ab2496eaeb4d508b0764 (patch) | |
tree | 22bb5835c3288f2530c8699a78855b050e1c47f7 /nptl/sysdeps/unix/sysv/linux/lowlevellock.c | |
parent | 06e2e0a747504a9cce34fa851e7afac2dc8efe42 (diff) | |
download | glibc-31195be25b5cd8e88426ab2496eaeb4d508b0764.tar glibc-31195be25b5cd8e88426ab2496eaeb4d508b0764.tar.gz glibc-31195be25b5cd8e88426ab2496eaeb4d508b0764.tar.bz2 glibc-31195be25b5cd8e88426ab2496eaeb4d508b0764.zip |
Update.
2003-05-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/lowlevellock.c')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/lowlevellock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c index eb3e689b9e..ad7510abfe 100644 --- a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c +++ b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c @@ -44,7 +44,7 @@ int __lll_timedlock_wait (int *futex, int val, const struct timespec *abstime) { /* Reject invalid timeouts. */ - if (abstime->tv_nsec >= 1000000000) + if (abstime->tv_nsec < 0 || abstime->tv_nsec >= 1000000000) return EINVAL; do @@ -100,7 +100,7 @@ __lll_timedwait_tid (int *tidp, const struct timespec *abstime) { int tid; - if (abstime->tv_nsec >= 1000000000) + if (abstime->tv_nsec < 0 || abstime->tv_nsec >= 1000000000) return EINVAL; /* Repeat until thread terminated. */ |