From: Jim Meyering Date: Mon, 6 Jan 2003 13:17:27 +0000 (+0000) Subject: 2002-12-10 Paul Eggert X-Git-Tag: v4.5.5~324 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=783186bced2b9fa0758127f1edbd82a08d2bc9ac;p=thirdparty%2Fcoreutils.git 2002-12-10 Paul Eggert 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. --- diff --git a/lib/exclude.h b/lib/exclude.h index 54c33ef60d..25cdd5a068 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;