2004-01-14 Paul Eggert <eggert@twinsun.com>
+ * fnmatch_loop.c (ALLOCA_LIMIT): Remove macro, which collided
+ with like-named macro in fnmatch.c.
+ (EXT): Use an internal constant instead.
+
Merge fnmatch patches from glibc.
* fnmatch.c (mbsinit): Remove define.
Add libc_hidden_ver (__fnmatch, fnmatch).
size_t pattern_len = STRLEN (pattern);
const CHAR *p;
const CHAR *rs;
+ enum { ALLOCA_LIMIT = 8000 };
/* Parse the pattern. Store the individual parts in the list. */
level = 0;
if (level-- == 0)
{
/* This means we found the end of the pattern. */
-#define ALLOCA_LIMIT 8000
#define NEW_PATTERN \
struct patternlist *newp; \
size_t plen; \