xserver-multidpi/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
..
bigreq.c Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
dpms.c Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
dpmsproc.h Xext: _X_EXPORT DPMSSet and DPMSSupported 2014-01-12 10:14:49 -08:00
dpmsstubs.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
geext.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
geext.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
geint.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
hashtable.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
hashtable.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
Makefile.am Xext: Only build one library 2012-07-10 00:01:49 -07:00
panoramiX.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
panoramiX.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
panoramiXh.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
panoramiXprocs.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
panoramiXsrv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
panoramiXSwap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
saver.c Clean up a few function prototypes to not place formals in /**/ 2014-01-12 10:24:12 -08:00
security.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
securitysrv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
shape.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
shm.c Clean up a few function prototypes to not place formals in /**/ 2014-01-12 10:24:12 -08:00
shmint.h xext: Fix shmint.h to not use headers outside of sdk_HEADERS 2013-11-14 10:22:15 +09:00
sleepuntil.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
sleepuntil.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
sync.c sync: Avoid ridiculously long timeouts 2014-02-09 10:41:18 +01:00
syncsdk.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
syncsrv.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xace.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xace.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xacestr.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xcmisc.c Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
xf86bigfont.c Xext: fix unused variable warnings in xf86bigfont.c 2012-11-05 13:25:06 -06:00
xf86bigfontsrv.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
xres.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xselinux_ext.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xselinux_hooks.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xselinux_label.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xselinux.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xselinuxint.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xtest.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xvdisp.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xvdisp.h Fix swapped Xv dispatch under Xinerama. 2007-12-02 14:15:36 -05:00
xvdix.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xvmain.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xvmc.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
xvmcext.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00