From fa2d9fc5282c677e6dbbe5e2bb85541b194ed6c4 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 18 Jun 2005 19:04:25 +0000 Subject: * glob.c: (glob0): New local variable `limit`. Use in calls to glob1 and globextend. (glob1): Add `limit' parameter. (glob2): Ditto. (glob3): Ditto. (globextend): Ditto. Implement GLOB_LIMIT handling. * include/glob.h (GLOB_LIMIT): New define. * include/cygwin/version.h: Bump API minor number. --- winsup/cygwin/include/glob.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/include/glob.h') diff --git a/winsup/cygwin/include/glob.h b/winsup/cygwin/include/glob.h index 6a393f004..bfcf306f4 100644 --- a/winsup/cygwin/include/glob.h +++ b/winsup/cygwin/include/glob.h @@ -90,6 +90,7 @@ typedef struct { #define GLOB_NOMAGIC 0x0200 /* GLOB_NOCHECK without magic chars (csh). */ #define GLOB_QUOTE 0x0400 /* Quote special chars with \. */ #define GLOB_TILDE 0x0800 /* Expand tilde names from the passwd file. */ +#define GLOB_LIMIT 0x1000 /* Limit memory used by matches to ARG_MAX */ #endif #define GLOB_NOSPACE (-1) /* Malloc call failed. */ -- cgit v1.2.3