openwrt/toolchain/musl/patches/100-add_glob_onlydir.patch
Felix Fietkau 8ad21a82e9 musl: update to version 1.1.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40820
2014-05-21 14:09:58 +00:00

12 lines
245 B
Diff

--- 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