xserver-multidpi/hw/xfree86/parser
Keith Packard 3824f558cc hw/xfree86: fix segfault in config parser when config dir is missing
Treat a scandir error from a missing (or unusable) directory return as
if it simply returned no files at all, which is what we want.

cc: Paulo Zanoni <przanoni@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2011-12-07 12:13:37 -08:00
..
Configint.h xfree86: Purge parsePrologueVoid. 2010-08-27 19:05:43 -04:00
configProcs.h Fix gcc -Wwrite-strings warnings in xf86 ddx 2011-11-23 12:15:07 -08:00
Device.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
DRI.c dri1: Remove "buffers" from the config logic 2010-10-18 15:34:08 -04:00
Extensions.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Files.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Flags.c Fix gcc -Wwrite-strings warnings in xf86 ddx 2011-11-23 12:15:07 -08:00
Input.c xfree86: parser: Never use constant strings for driver names (fixes #17438) 2010-08-13 11:43:18 +10:00
InputClass.c parser: free val.str after xstrtokenize 2011-11-24 17:47:37 -02:00
Layout.c input: switch InputOption to use XF86OptionRec storage. 2011-10-25 14:06:39 +10:00
Makefile.am xfree86: switch options from pointer to XF86OptionPtr 2011-09-27 11:43:36 +10:00
Module.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Monitor.c xfree86: parser: Remove 'CUSTOM' flag option in Monitor section. 2010-11-10 21:35:58 -08:00
Pointer.c xfree86: warning fix 2011-03-28 13:00:58 -04:00
read.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
scan.c hw/xfree86: fix segfault in config parser when config dir is missing 2011-12-07 12:13:37 -08:00
Screen.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
Vendor.c config: Remove useless xf86conf{{m,c,re}alloc},free} macros 2009-04-06 17:56:49 -04:00
Video.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
write.c os/xfree86: remove macro checking for POSIX symbols 2010-09-10 21:49:28 +03:00
xf86Optrec.h Fix gcc -Wwrite-strings warnings in xf86 ddx 2011-11-23 12:15:07 -08:00
xf86Parser.h Correctly free config file names 2011-11-24 17:47:37 -02:00
xf86tokens.h Remove unused vtSysreq 2011-09-29 23:05:35 +06:00