mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-06-03 10:18:21 +02:00
open() will happily open directories and other non-normal files. Attempting to parse them as config files makes no sense, so check that the opened file is indeed a regular file. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Reviewed-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> |
||
|---|---|---|
| .. | ||
| cairo-util.c | ||
| cairo-util.h | ||
| config-parser.c | ||
| config-parser.h | ||
| file-util.c | ||
| file-util.h | ||
| frame.c | ||
| image-loader.c | ||
| image-loader.h | ||
| matrix.c | ||
| matrix.h | ||
| option-parser.c | ||
| os-compatibility.c | ||
| os-compatibility.h | ||
| platform.h | ||
| zalloc.h | ||