]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 29 May 2003 05:28:16 +0000 (05:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 29 May 2003 05:28:16 +0000 (05:28 +0000)
2003-05-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/pthread_cond_broadcast.c
(__pthread_cond_broadcast): Fix typo: MAX_INT -> INT_MAX.

nptl/ChangeLog
nptl/sysdeps/pthread/pthread_cond_broadcast.c

index 1b175fa8bbdcde46b079f05ff12ff63943b42c12..56a156edbedcc97466d681e9f9a19363d80cfe80 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-28  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/pthread/pthread_cond_broadcast.c
+       (__pthread_cond_broadcast): Fix typo: MAX_INT -> INT_MAX.
+
 2003-05-26  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Fix
index f34f58cc997247103654b8e573b42244cbf8abcd..6c3722a9cd9f177cd5607b37809db7e2a497bb89 100644 (file)
@@ -56,13 +56,13 @@ __pthread_cond_broadcast (cond)
 
       /* Wake everybody.  */
       pthread_mutex_t *mut = (pthread_mutex_t *) cond->__data.__mutex;
-      if (__builtin_expect (lll_futex_requeue (futex, 1, MAX_INT,
+      if (__builtin_expect (lll_futex_requeue (futex, 1, INT_MAX,
                                               &mut->__data.__lock) == -EINVAL,
                            0))
        {
          /* The requeue functionality is not available.  */
 #ifndef __ASSUME_FUTEX_REQUEUE
-         lll_futex_wake (futex, MAX_INT);
+         lll_futex_wake (futex, INT_MAX);
 #endif
        }