mirror of git://sourceware.org/git/glibc.git
Update.
2003-02-20 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add missing arguments to INTERNAL_SYSCALL_ERROR_P and INTERNAL_SYSCALL_ERRNO.
This commit is contained in:
parent
ffdcfcb0e4
commit
44ed664bfd
|
@ -1,3 +1,9 @@
|
||||||
|
2003-02-20 Philip Blundell <philb@gnu.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
|
||||||
|
missing arguments to INTERNAL_SYSCALL_ERROR_P and
|
||||||
|
INTERNAL_SYSCALL_ERRNO.
|
||||||
|
|
||||||
2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
|
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
|
||||||
|
|
|
@ -138,10 +138,10 @@ __local_syscall_error: \
|
||||||
call. */
|
call. */
|
||||||
#undef INLINE_SYSCALL
|
#undef INLINE_SYSCALL
|
||||||
#define INLINE_SYSCALL(name, nr, args...) \
|
#define INLINE_SYSCALL(name, nr, args...) \
|
||||||
({ unsigned int _sys_result = INTERNAL_SYSCALL (name, nr, args); \
|
({ unsigned int _sys_result = INTERNAL_SYSCALL (name, , nr, args); \
|
||||||
if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (_sys_result), 0)) \
|
if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (_sys_result, ), 0)) \
|
||||||
{ \
|
{ \
|
||||||
__set_errno (INTERNAL_SYSCALL_ERRNO (_sys_result)); \
|
__set_errno (INTERNAL_SYSCALL_ERRNO (_sys_result, )); \
|
||||||
_sys_result = (unsigned int) -1; \
|
_sys_result = (unsigned int) -1; \
|
||||||
} \
|
} \
|
||||||
(int) _sys_result; })
|
(int) _sys_result; })
|
||||||
|
|
Loading…
Reference in New Issue