fix regression in select with no timeout
commitd0b547dfb5f7678cab6bc39dd736ed6454357ca4
authorRich Felker <dalias@aerifal.cx>
Wed, 7 Aug 2019 06:57:53 +0000 (7 02:57 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 7 Aug 2019 06:57:53 +0000 (7 02:57 -0400)
treee99011708d88b2d4c8c7d106865cb25793f3c5ae
parente408deefeb1a60b6e9e1bb63393590926f96ee64
fix regression in select with no timeout

commit 722a1ae3351a03ab25010dbebd492eced664853b inadvertently passed a
copy of {s,us} to the syscall even if the timeout argument tv was
null, thereby causing immediate timeout (polling) in place of
unlimited timeout. only archs using SYS_select were affected.
src/select/select.c