[PATCH 07/23] linux: Simplify ppoll

Joseph Myers joseph@codesourcery.com
Mon Jul 13 21:21:46 GMT 2020


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.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list