summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-06 13:17:27 +0000
committerJim Meyering <jim@meyering.net>2003-01-06 13:17:27 +0000
commit783186bced2b9fa0758127f1edbd82a08d2bc9ac (patch)
tree405112cd1acf7937ee4011e13be5e6eec2b35956 /lib
parentcc334674f65aa11edfd5802d37e82cec398e5ee9 (diff)
downloadcoreutils-783186bced2b9fa0758127f1edbd82a08d2bc9ac.tar.xz
2002-12-10 Paul Eggert <eggert@twinsun.com>
Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7. (EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS): Choose values that are less likely to collide with system fnmatch options.
Diffstat (limited to 'lib')
-rw-r--r--lib/exclude.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/exclude.h b/lib/exclude.h
index 54c33ef60..25cdd5a06 100644
--- a/lib/exclude.h
+++ b/lib/exclude.h
@@ -1,5 +1,7 @@
/* exclude.h -- declarations for excluding file names
- Copyright 1992, 1993, 1994, 1997, 1999, 2001 Free Software Foundation, Inc.
+
+ Copyright (C) 1992, 1993, 1994, 1997, 1999, 2001, 2002 Free
+ Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -30,14 +32,14 @@
/* Patterns must match the start of file names, instead of matching
anywhere after a '/'. */
-#define EXCLUDE_ANCHORED (1 << 5)
+#define EXCLUDE_ANCHORED (1 << 30)
/* Include instead of exclude. */
-#define EXCLUDE_INCLUDE (1 << 6)
+#define EXCLUDE_INCLUDE (1 << 29)
/* '?', '*', '[', and '\\' are special in patterns. Without this
option, these characters are ordinary and fnmatch is not used. */
-#define EXCLUDE_WILDCARDS (1 << 7)
+#define EXCLUDE_WILDCARDS (1 << 28)
struct exclude;