svn commit: trunk/uClibc/include
psm at uclibc.org
psm at uclibc.org
Mon Feb 27 14:24:05 UTC 2006
Author: psm
Date: 2006-02-27 06:24:02 -0800 (Mon, 27 Feb 2006)
New Revision: 14309
Log:
Disable parts not supported by (outdated) glob, probably the glob[64]_t structures are wrong too
Modified:
trunk/uClibc/include/glob.h
Changeset:
Modified: trunk/uClibc/include/glob.h
===================================================================
--- trunk/uClibc/include/glob.h 2006-02-27 10:16:20 UTC (rev 14308)
+++ trunk/uClibc/include/glob.h 2006-02-27 14:24:02 UTC (rev 14309)
@@ -55,6 +55,7 @@
#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 @@
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. */
More information about the uClibc-cvs
mailing list