xserver-multidpi/hw/xfree86/loader
Dave Airlie d85ab6b648 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>
2009-11-09 08:24:39 -08:00
..
dlloader.c Fix "warning: assignment discards qualifiers from pointer target type". 2008-06-24 15:04:01 -04:00
dlloader.h Remove a useless open() of the module we're about to load. 2006-07-21 22:55:41 -04:00
loader.c loader: Remove a useless check. 2009-07-17 15:03:57 -04:00
loader.h Remove more Lynx leftovers 2008-07-17 09:35:30 -07:00
loaderProcs.h Don't include fontmod.h 2009-01-20 23:46:48 -05:00
loadext.c LoaderSortExtensions: free graph nodes 2009-09-20 20:45:25 +10:00
loadmod.c loader: actually stat something that has some chance of existing. (v2) 2009-11-09 08:24:39 -08:00
Makefile.am Supply all code using dl*() with DLOPEN_LIBS 2009-10-29 14:15:02 -07:00
os.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
sdksyms.sh Suppress certain GCC warnings in auto-generated code. 2009-10-28 18:59:07 -07:00