mirror of git://git.musl-libc.org/musl
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:
parent
cb856a6160
commit
b93183e399
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue