From: Roland McGrath Date: Thu, 5 Sep 2002 18:53:40 +0000 (+0000) Subject: * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter X-Git-Tag: cvs/glibc-2-3~216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1e56cd10ab85871b744cffddee4f8b543304123;p=platform%2Fupstream%2Fglibc.git * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter syntax. * elf/readlib.c (process_file): Conditionalize check for QMAGIC. --- diff --git a/ChangeLog b/ChangeLog index e924638..ede97d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,15 @@ 2002-09-04 Bruno Haible - * elf/readlib.c (process_file): Conditionalize check for QMAGIC. - * sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask, sigset_get_old_mask): Turn into inline functions. * sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask, sigset_get_old_mask): Likewise. * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask, sigset_get_old_mask): Likewise. + * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter + syntax. + + * elf/readlib.c (process_file): Conditionalize check for QMAGIC. * sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove default definitions. diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 08084a4..6d4850b 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,9 +1,21 @@ +2002-09-04 Bruno Haible + + * wrapsyscall.c (PROMOTE_INTEGRAL_TYPE): New macro. + (open, open64): Change va_arg argument type to the integral type to + which mode_t promotes. + + * sysdeps/pthread/tst-timer.c (main): Don't assume anything about + the structure of 'struct sigevent'. + + * errno.c (__errno_location, __h_errno_location, __res_state): + Use prototype function definitions. + 2002-07-29 Steven Munroe * shlib-versions: Set libpthread version to 2.3 for powerpc64. * sysdeps/powerpc/pt-machine.h: moved to... * sysdeps/powerpc/powerpc32/pt-machine.h: ...here - * sysdeps/powerpc/powerpc64/pt-machine.h: New file. + * sysdeps/powerpc/powerpc64/pt-machine.h: New file. 2002-09-02 Roland McGrath diff --git a/sysdeps/generic/sigset-cvt-mask.h b/sysdeps/generic/sigset-cvt-mask.h index c9a0434..95473f5 100644 --- a/sysdeps/generic/sigset-cvt-mask.h +++ b/sysdeps/generic/sigset-cvt-mask.h @@ -27,7 +27,7 @@ static inline int __attribute__ ((unused)) sigset_set_old_mask (sigset_t *set, int mask) { if (sizeof (__sigset_t) == sizeof (unsigned int)) - *set = (unsigned int) (mask); + *set = (unsigned int) mask; else { register unsigned int __sig;