changeset 4078:11656148e11b

Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 10 Dec 2002 19:41:43 +0000
parents 62c996889465
children 59e0c3ba95bb
files lib/ChangeLog
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,14 @@
+2002-12-10  Paul Eggert  <eggert@twinsun.com>
+
+	Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7.
+	* exclude.h (EXCLUDE_ANCHORED, EXCLUDE_INCLUDE, EXCLUDE_WILDCARDS):
+	Choose values that are less likely to collide with system fnmatch
+	options.
+	* exclude.c (FNM_CASEFOLD, FNM_LEADING_DIR): Define to 0 if not
+	defined (e.g., a pure POSIX system).
+	(EXCLUDE_macros_do_not_collide_with_FNM_macros): Use FNM_PATHNAME
+	instead of FNM_FILE_NAME, for compatibility with pure POSIX sytems.
+
 2002-12-06  Jim Meyering  <jim@meyering.net>
 
 	* error.c: Be consistent: change `#ifndef _LIBC' to `#if !_LIBC'.