summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2001-08-09 00:53:18 +0000
committerMike Heffner <mikeh@FreeBSD.org>2001-08-09 00:53:18 +0000
commita15202000eab8ef3b4e2e4830309a98b4216eb4e (patch)
tree508a8a68a06219787de384641456e7d04cf99bde /include
parent63707023b58b0e6f2d662caa078624fe25838619 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/glob.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/glob.h b/include/glob.h
index 7b74d33afd5a..cd49ea8d82bd 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -77,11 +77,13 @@ 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_MAXPATH 0x1000 /* limit number of returned paths */
+#define GLOB_LIMIT 0x1000 /* limit number of returned paths */
+
+/* backwards compatibility, this is the old name for this option */
+#define GLOB_MAXPATH GLOB_LIMIT
#define GLOB_NOSPACE (-1) /* Malloc call failed. */
#define GLOB_ABEND (-2) /* Unignored error. */
-#define GLOB_LIMIT (-3) /* Path limit was hit. */
__BEGIN_DECLS
int glob __P((const char *, int, int (*)(const char *, int), glob_t *));