xserver/hw
Dave Airlie 2db157924b loader: actually stat something that has some chance of existing. (v2)
FindModuleInSubdir seems to expect a / at the end of the subdir its
finding for, so we add the / early, the stat will fail if its
not a subdir, I'm leaving the S_ISDIR in just in case there is another
reason it could return 0. This does look a bit silly in strace
but it seems to work fine.

I have a very intermittent issue where drivers loses its / that
I've been seeing on/off for a while, this may or may not fix it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit d85ab6b648)
2009-11-19 16:33:16 +10:00
..
dmx dmx: Correctly compute DMXGetScreenAttributes reply length 2009-11-03 13:19:47 +10:00
kdrive kdrive: Grab evdev mouse/keyboard devices when X server is active 2009-11-03 13:25:35 +10:00
vfb input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7 2009-06-18 14:41:47 +10:00
xfree86 loader: actually stat something that has some chance of existing. (v2) 2009-11-19 16:33:16 +10:00
xnest Xnest: set the default pointer accel to the host's values (#10013) 2009-09-09 10:47:08 +10:00
xquartz XQuartz: Explicitly pass a bellProc to make XBell() work again. 2009-11-15 11:03:39 -08:00
xwin Xming: Remove unused X-boxed icon resource 2009-10-20 08:53:37 +10:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00