aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-17 23:14:52 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-17 23:14:52 +0000
commitf532641db76c471c9e61a8847a820066177ec818 (patch)
tree976dbed8fa4224ea3bd22f44e094cf61e8ef1c4a /linuxthreads
parent69ac9d0793dd675cf49fa3ce6796a0dce227c076 (diff)
downloadglibc-f532641db76c471c9e61a8847a820066177ec818.tar
glibc-f532641db76c471c9e61a8847a820066177ec818.tar.gz
glibc-f532641db76c471c9e61a8847a820066177ec818.tar.bz2
glibc-f532641db76c471c9e61a8847a820066177ec818.zip
Update.
2004-03-26 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't use "struct kernel_stat". 2004-04-02 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/ia64/memcmp.S: Fix symbol.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/semaphore.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index e0ab2c2bc7..48a873c47b 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-17 Ulrich Drepper <drepper@redhat.com>
+
+ * semaphore.h (SEM_VALUE_MAX): Just use a plain number.
+
2004-04-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Fix last patch.
diff --git a/linuxthreads/semaphore.h b/linuxthreads/semaphore.h
index 7b09ea9319..8407007d0b 100644
--- a/linuxthreads/semaphore.h
+++ b/linuxthreads/semaphore.h
@@ -42,7 +42,7 @@ typedef struct
#define SEM_FAILED ((sem_t *) 0)
/* Maximum value the semaphore can have. */
-#define SEM_VALUE_MAX ((int) ((~0u) >> 1))
+#define SEM_VALUE_MAX (2147483647)
__BEGIN_DECLS