From c0f53cdd08913ef09f9bb66fb1b14cd88598cff9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 Jul 2000 00:52:01 +0000 Subject: Update. 2000-07-06 Ulrich Drepper * include/signal.h: Declare __libc_sigaction. * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction. * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. * configure.in: Fix CLAGS-memprofstat.c definition after 2000-06-19 change. Patch by Bradford W. Johnson . 2000-07-06 Jakub Jelinek * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt t argument. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add cast. 2000-07-06 Andreas Jaeger * crypt/Makefile (LDLIBS-cert): Removed. (LDLIBS-md5c-test): Removed. ($(objpfx)cert): Renamed from cert.out to fix dependencies. ($(objpfx)md5c-test): Likewise for md5c-test.out. --- linuxthreads/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/spinlock.h') diff --git a/linuxthreads/spinlock.h b/linuxthreads/spinlock.h index 96f39551dd..6609ef71c9 100644 --- a/linuxthreads/spinlock.h +++ b/linuxthreads/spinlock.h @@ -107,7 +107,7 @@ static inline int __pthread_trylock (struct _pthread_fastlock * lock) #endif #if !defined HAS_COMPARE_AND_SWAP { - return (testandset(&lock->__spinlock) : EBUSY : 0) + return (testandset(&lock->__spinlock) ? EBUSY : 0); } #endif -- cgit v1.2.3