diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-27 14:24:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-27 14:24:02 +0000 |
commit | 22f05b29610faa5eaabec5821c8f6cd12ed0294e (patch) | |
tree | b7b12ed7fdfd00f6f634c0c5cf685f4aacc1131c /include/glob.h | |
parent | 97abd10f794865f982d4d944132546ca30ba6ab2 (diff) |
Disable parts not supported by (outdated) glob, probably the glob[64]_t structures are wrong too
Diffstat (limited to 'include/glob.h')
-rw-r--r-- | include/glob.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/glob.h b/include/glob.h index 3d401f082..0592f34cf 100644 --- a/include/glob.h +++ b/include/glob.h @@ -55,6 +55,7 @@ typedef __SIZE_TYPE__ size_t; #if !defined __USE_POSIX2 || defined __USE_BSD || defined __USE_GNU # define GLOB_MAGCHAR (1 << 8)/* Set in gl_flags if any metachars seen. */ +#if 0 /* uClibc's gnu glob does not support these */ # define GLOB_ALTDIRFUNC (1 << 9)/* Use gl_opendir et al functions. */ # define GLOB_BRACE (1 << 10)/* Expand "{a,b}" to "a" "b". */ # define GLOB_NOMAGIC (1 << 11)/* If no magic chars, return the pattern. */ @@ -71,6 +72,11 @@ typedef __SIZE_TYPE__ size_t; GLOB_NOESCAPE|GLOB_NOCHECK|GLOB_APPEND| \ GLOB_PERIOD) #endif +#else +# define __GLOB_FLAGS (GLOB_ERR|GLOB_MARK|GLOB_NOSORT|GLOB_DOOFFS| \ + GLOB_NOESCAPE|GLOB_NOCHECK|GLOB_APPEND| \ + GLOB_PERIOD) +#endif /* Error returns from `glob'. */ #define GLOB_NOSPACE 1 /* Ran out of memory. */ |