diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-20 18:58:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-20 18:58:56 +0000 |
commit | f9a06dc1b5f83ddd6448c6bf80dfe9e02eb97a3d (patch) | |
tree | 0293530bb5e96f892765635e2a52c0ba5bd54d3b /linuxthreads | |
parent | af1ff65986677e1ee29b6adc2750163c64b5aaef (diff) | |
download | glibc-f9a06dc1b5f83ddd6448c6bf80dfe9e02eb97a3d.tar.gz glibc-f9a06dc1b5f83ddd6448c6bf80dfe9e02eb97a3d.tar.xz glibc-f9a06dc1b5f83ddd6448c6bf80dfe9e02eb97a3d.zip |
Update.
2004-04-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into EACCES. 2004-04-20 Jakub Jelinek <jakub@redhat.com> * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace handling change. * stdio-common/tst-sscanf.c (int_tests): Adjust. * nis/nss-nis.c: Include stdlib.h. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a warning. * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from libc_hidden_builtin_def. 2004-04-20 Jim Meyering <jim@meyering.net> * misc/error.c (error_tail): Don't leak upon realloc failure. 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): Use RETURN_ADDRESS instead of __builtin_return_address.
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 4 | ||||
-rw-r--r-- | linuxthreads/oldsemaphore.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 998af79630..40e23ec337 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +2004-04-20 Jakub Jelinek <jakub@redhat.com> + + * oldsemaphore.c (SEM_VALUE_MAX): Remove. + 2004-04-19 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (CENABLE): Define diff --git a/linuxthreads/oldsemaphore.c b/linuxthreads/oldsemaphore.c index 80a82dfcf6..d35683b98b 100644 --- a/linuxthreads/oldsemaphore.c +++ b/linuxthreads/oldsemaphore.c @@ -41,10 +41,6 @@ extern int __old_sem_post (old_sem_t *__sem); extern int __old_sem_getvalue (old_sem_t *__sem, int *__sval); extern int __old_sem_destroy (old_sem_t *__sem); - -/* Maximum value the semaphore can have. */ -#define SEM_VALUE_MAX ((int) ((~0u) >> 1)) - static inline int sem_compare_and_swap(old_sem_t *sem, long oldval, long newval) { return compare_and_swap(&sem->sem_status, oldval, newval, &sem->sem_spinlock); |