xserver/hw
Peter Hutterer 50a7361cfc Initialize the fd to -1 for xorg.conf input devices.
For hotplugged devices, xf86AllocateInput does that for us but the xorg.conf
path is different. Since not all drivers reset the fd during PreInit but may
still call close(pInfo->fd) in all cases, this can terminate the logging
early.

Reproducible: add a wacom driver InputDevice section with no Option Device.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
(cherry picked from commit 3798dd379c)
2011-07-28 09:45:18 +10:00
..
dmx glx: Remove a few lingering traces of __GLXscreen.GLXVersion 2011-07-16 13:19:27 -07:00
kdrive man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
vfb man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
xfree86 Initialize the fd to -1 for xorg.conf input devices. 2011-07-28 09:45:18 +10:00
xnest man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
xquartz XQuartz: Adjust BUNDLE_ID_PREFIX to LAUNCHD_ID_PREFIX for server-1.10-branch 2011-07-19 23:49:31 -07:00
xwin glx: Remove a few lingering traces of __GLXscreen.GLXVersion 2011-07-16 13:19:27 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00