correctly handle old kernels without FUTEX_WAIT_BITSET
authorRich Felker <dalias@aerifal.cx>
Wed, 3 Aug 2011 01:18:43 +0000 (21:18 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 3 Aug 2011 01:18:43 +0000 (21:18 -0400)
futex returns EINVAL, not ENOSYS, when op is not supported.
unfortunately this looks just like EINVAL from other causes, and we
end up running the fallback code and getting EINVAL again. fortunately
this case should be rare since correct code should not generate EINVAL
anyway.


No differences found