Fix clock_nanosleep when interrupted by a signal
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 11 Nov 2019 16:28:37 +0000 (13:28 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 11 Nov 2019 19:47:20 +0000 (16:47 -0300)
commit42b926d303e571d5f9a4e97ffdb8e05d1eabae66
tree14e83b2b320fa4c37820c6974de17042c597d32d
parentf0f0d79ac3a2ed7b4e2b99ff993027172068446e
Fix clock_nanosleep when interrupted by a signal

This patch fixes the time64 support (added by 2e44b10b42d) where it
misses the remaining argument updated if __NR_clock_nanosleep
returns EINTR.

Checked on i686-linux-gnu on 4.15 kernel (no time64 support) and
on 5.3 kernel (with time64 support).

Reviewed-by: Alistair Francis <alistair23@gmail.com>
sysdeps/unix/sysv/linux/clock_nanosleep.c