xserver/hw/xfree86
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
..
common Initialize the fd to -1 for xorg.conf input devices. 2011-07-28 09:45:18 +10:00
ddc xfree86: Convert some xf86BlockSIGIO to OsBlockSignals 2010-12-20 12:15:14 -05:00
dixmods xfree86/dga: Remove DGAIsDgaEvent() 2011-01-27 14:22:03 +10:00
doc man: list the drivers that are ignored when hotplugging (#35209) 2011-04-07 08:36:58 +10:00
dri dri1: warning fix 2010-12-31 12:36:44 +00:00
dri2 xfree86: dri2: fix memory leak and free resources properly 2011-04-04 17:27:12 +03:00
exa man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
fbdevhw fbdevhw: Remove the non-sysfs hack for mapping from PCI to fbdev 2011-02-08 12:40:55 -05:00
i2c xfree86: Remove useless module setup functions where appropriate 2010-09-22 10:57:22 -04:00
int10 int10: warning fix 2011-02-08 12:40:49 -05:00
loader xfree86: loader: fix memory leaks in LoaderListDirs 2011-04-04 17:36:37 +03:00
modes xfree86/modes: Fixed memory leak in xf86InitialConfiguration 2011-03-14 15:33:36 -07:00
os-support linux: Retry VT ioctls while errno == EINTR 2011-05-28 18:14:19 -07:00
parser xfree86: Convert libxf86config to static libtool library 2011-01-08 08:42:33 -08:00
ramdac Enable silent rules for cat and echo. 2010-12-07 18:42:44 +01:00
shadowfb xfree86: Kill pixmapPrivate with a vengeance (v2) 2010-09-28 08:07:21 -07:00
utils man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
vbe vbe: Fix malloc size bug 2011-03-09 15:57:02 -08:00
vgahw xfree86: nds32: add nds32 definition for vgaHW support. 2010-09-23 15:36:19 -07:00
x86emu x86emu: Fix more mis-decoding of the data prefix 2011-01-04 09:23:52 -05:00
xaa Call SourceValidate even if src == dst 2011-01-05 11:56:42 -08:00
.gitignore xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00
Makefile.am Make xorg.conf.example rule compatible with Solaris make 2011-05-13 23:31:14 -07:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00