openwrtv3/toolchain/musl/patches/100-add_glob_onlydir.patch

12 lines
245 B
Diff
Raw Normal View History

--- a/include/glob.h
+++ b/include/glob.h
@@ -31,6 +31,8 @@ void globfree(glob_t *);
#define GLOB_NOESCAPE 0x40
#define GLOB_PERIOD 0x80
+#define GLOB_ONLYDIR 0x100
+
#define GLOB_NOSPACE 1
#define GLOB_ABORTED 2
#define GLOB_NOMATCH 3