[PATCH 07/23] linux: Simplify ppoll
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Jul 14 13:26:23 GMT 2020
On 13/07/2020 18:21, Joseph Myers wrote:
> On Mon, 13 Jul 2020, Adhemerval Zanella via Libc-alpha wrote:
>
>> With arch-syscall.h it can now assumes the existance of either
>> __NR_ppoll or __NR_ppoll_time64. The 32-bit time_t support is now
>> only build for !__ASSUME_TIME64_SYSCALLS.
>
>> +#ifdef __ASSUME_TIME64_SYSCALLS
>> if (ret >= 0 || errno != ENOSYS)
>> return ret;
>
> Should this be #ifndef? It looks like it's building the fallback code in
> exactly the case where it's not needed.
>
It should, I have change it on a subsequent patch in the same set I didn't
catch in in the end. I changed it locally.
More information about the Libc-alpha
mailing list