]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
2002-12-10 Paul Eggert <eggert@twinsun.com>
authorJim Meyering <jim@meyering.net>
Mon, 6 Jan 2003 13:17:27 +0000 (13:17 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 6 Jan 2003 13:17:27 +0000 (13:17 +0000)
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.

lib/exclude.h

index 54c33ef60d137c744f09bf3484e452c8a77895f6..25cdd5a068667ccd4c22655c3d80726a45a46246 100644 (file)
@@ -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
 
 /* 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;