From: Paul Eggert Date: Tue, 10 Dec 2002 19:41:43 +0000 (+0000) Subject: Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=589291068cc2b53ed3652376a25cf87ebd45806c;p=pspp Port exclude.c and exclude.h to more non-GNU systems, e.g. Solaris 7. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index d3dff433c1..633316b9f0 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,14 @@ +2002-12-10 Paul Eggert + + 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 * error.c: Be consistent: change `#ifndef _LIBC' to `#if !_LIBC'.