From 139a4d957a49107e0528e60913f3eb565c691da3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 3 Aug 2000 07:29:27 +0000 Subject: Update. 2000-08-03 Ulrich Drepper * iconvdata/big5.c: Updated. Patch by Tung-Han Hsieh . --- linuxthreads/mutex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linuxthreads/mutex.c') diff --git a/linuxthreads/mutex.c b/linuxthreads/mutex.c index d7674ffadd..ae070e5b93 100644 --- a/linuxthreads/mutex.c +++ b/linuxthreads/mutex.c @@ -118,7 +118,8 @@ int __pthread_mutex_timedlock (pthread_mutex_t *mutex, pthread_descr self; int res; - if (abstime->tv_nsec < 0 || abstime->tv_nsec >= 1000000000) + if (__builtin_expect (abstime->tv_nsec, 0) < 0 + || __builtin_expect (abstime->tv_nsec, 0) >= 1000000000) return EINVAL; switch(mutex->__m_kind) { -- cgit v1.2.3