]> git.ipfire.org Git - thirdparty/systemd.git/commit
musl: glob-util: filter out . and .. even if GLOB_ALTDIRFUNC is not supported
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Feb 2019 06:56:21 +0000 (14:56 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 Nov 2025 03:19:22 +0000 (12:19 +0900)
commit07e437f569c68e218b2e7592dae458b0d50fbaad
tree16bbbb1632fe6d2f64660b9f68c95f89d5002989
parent3bc03c67f0ea345e7fad49ed22d1e72bd833c1f9
musl: glob-util: filter out . and .. even if GLOB_ALTDIRFUNC is not supported

musl neither support GLOB_ALTDIRFUNC nor GLOB_BRACE.
Let's make safe_glob() work even when GLOB_ALTDIRFUNC is not supported.
Currently, GLOB_BRACE is simply ignored when it is not supported.
src/basic/glob-util.c
src/include/musl/glob.h [new file with mode: 0644]