don't use futimesat syscall as utimensat fallback on x32

kernel support for x32 was added long after the utimensat syscall was
already available, so having a fallback is just wasted code size.

also, for changes related to time64 support on 32-bit archs, I want to
be able to assume the old futimesat syscall always works with longs,
which is true except for x32. by ensuring that it's not used on x32,
the needed invariant is established.
This commit is contained in:
Rich Felker 2019-07-27 12:20:07 -04:00
parent cb856a6160
commit b93183e399
1 changed files with 2 additions and 0 deletions

View File

@ -124,3 +124,5 @@ static __inline long __syscall6(long long n, long long a1, long long a2, long lo
"d"(a3), "r"(a4), "r"(a5), "r"(a6) : "rcx", "r11", "memory");
return ret;
}
#undef SYS_futimesat