Files
xserver_xsdl/Xext
Mark Kettenis ddeca92749 sync: Avoid ridiculously long timeouts
On OpenBSD, passing a timeout longer than 100000000 seconds to select(2) will
make it fail with EINVAL.  As this is original 4.4BSD behaviour it is not
inconceivable that other systems suffer from the same problem.  And Linux,
though not suffering from any 4.4BSD heritage, briefly did something similar:

<https://lkml.org/lkml/2012/8/31/263>

So avoid calling AdjustWaitForDelay() instead of setting the timeout to
(effectively) ULONG_MAX milliseconds.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
2014-02-09 10:41:18 +01:00
..
2014-01-12 10:24:11 -08:00
2012-03-21 13:54:42 -07:00
2012-07-10 00:01:49 -07:00
2014-01-12 10:24:11 -08:00
2014-02-09 10:41:18 +01:00
2012-03-21 13:54:42 -07:00
2014-01-12 10:24:11 -08:00
2014-01-12 10:24:11 -08:00
2012-03-21 13:54:42 -07:00
2014-01-12 10:24:11 -08:00
2014-01-12 10:24:11 -08:00
2012-03-21 13:54:42 -07:00
2014-01-12 10:24:11 -08:00
2014-01-12 10:24:11 -08:00
2014-01-12 10:24:11 -08:00
2014-01-12 10:24:11 -08:00
2014-01-12 10:24:11 -08:00
2014-01-12 10:24:11 -08:00