summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/diff/fnmatch.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-10-28 18:51:33 +0000
committerpeter <peter@FreeBSD.org>1995-10-28 18:51:33 +0000
commit72fa7ec057bc2d7930e60d59f3936afe1de4bc11 (patch)
treef917c4d092ab7f07578aa4ed130670f8318a80e7 /gnu/usr.bin/diff/fnmatch.h
parent563e4a17a436fd50aa0bba32d08c6aca09b6673b (diff)
parent27378b5694b4941bb63a62097f7ee523da0a35bb (diff)
downloadFreeBSD-src-72fa7ec057bc2d7930e60d59f3936afe1de4bc11.zip
FreeBSD-src-72fa7ec057bc2d7930e60d59f3936afe1de4bc11.tar.gz
This commit was generated by cvs2svn to compensate for changes in r11884,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'gnu/usr.bin/diff/fnmatch.h')
-rw-r--r--gnu/usr.bin/diff/fnmatch.h33
1 files changed, 20 insertions, 13 deletions
diff --git a/gnu/usr.bin/diff/fnmatch.h b/gnu/usr.bin/diff/fnmatch.h
index 55cb17c..1a653ab 100644
--- a/gnu/usr.bin/diff/fnmatch.h
+++ b/gnu/usr.bin/diff/fnmatch.h
@@ -1,19 +1,21 @@
/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public License as
-published by the Free Software Foundation; either version 2 of the
-License, or (at your option) any later version.
+NOTE: The canonical source of this file is maintained with the GNU C Library.
+Bugs can be reported to bug-glibc@prep.ai.mit.edu.
-This library is distributed in the hope that it will be useful,
+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 the
+Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Library General Public License for more details.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
-You should have received a copy of the GNU Library General Public
-License along with this library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA. */
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef _FNMATCH_H
@@ -34,10 +36,15 @@ extern "C" {
non-ANSI C where `const' is problematical. */
#endif /* C++ or ANSI C. */
+
+/* We #undef these before defining them because some losing systems
+ (HP-UX A.08.07 for example) define these in <unistd.h>. */
+#undef FNM_PATHNAME
+#undef FNM_NOESCAPE
+#undef FNM_PERIOD
+
/* Bits set in the FLAGS argument to `fnmatch'. */
-#ifndef FNM_PATHNAME
#define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */
-#endif
#define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */
#define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */
OpenPOWER on IntegriCloud