diff options
author | Richard Henderson <rth@twiddle.net> | 2012-08-07 09:11:31 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2012-08-08 07:43:27 -0700 |
commit | 6360984bc3ee9534437f5f62d65ad31b47c33b35 (patch) | |
tree | 81ed7e41a10d5f8b186d89ea962555ac7b3f02bf /ports/sysdeps/unix/sysv/linux/alpha/xstat.c | |
parent | 3381e4ff2d6903b5e995d1b9c6210ebb6f52630b (diff) | |
download | glibc-6360984bc3ee9534437f5f62d65ad31b47c33b35.tar.gz glibc-6360984bc3ee9534437f5f62d65ad31b47c33b35.tar.xz glibc-6360984bc3ee9534437f5f62d65ad31b47c33b35.zip |
alpha: Purge __ASSUME_STAT64_SYSCALL
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/alpha/xstat.c')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/xstat.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/xstat.c b/ports/sysdeps/unix/sysv/linux/alpha/xstat.c index a25431cfc3..fe11e52d51 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/xstat.c +++ b/ports/sysdeps/unix/sysv/linux/alpha/xstat.c @@ -1,5 +1,5 @@ /* xstat using old-style Unix stat system call. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -37,7 +37,6 @@ __xstat (int vers, const char *name, struct stat *buf) int result; struct kernel_stat kbuf; -#if __ASSUME_STAT64_SYSCALL > 0 if (vers == _STAT_VER_KERNEL64) { result = INTERNAL_SYSCALL (stat64, err, 2, name, buf); @@ -46,22 +45,6 @@ __xstat (int vers, const char *name, struct stat *buf) __set_errno (INTERNAL_SYSCALL_ERRNO (result, err)); return -1; } -#elif defined __NR_stat64 - if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) - { - int errno_out; - result = INTERNAL_SYSCALL (stat64, err, 2, name, buf); - if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) - return result; - errno_out = INTERNAL_SYSCALL_ERRNO (result, err); - if (errno_out != ENOSYS) - { - __set_errno (errno_out); - return -1; - } - __libc_missing_axp_stat64 = 1; - } -#endif result = INTERNAL_SYSCALL (stat, err, 2, name, &kbuf); if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) |