summaryrefslogtreecommitdiff
path: root/include/fnmatch.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-22 05:25:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-22 05:25:33 +0000
commit49eb8826b3b85644bd7d1b814cd88e1a32edfdc7 (patch)
treeb15f454ca6e0da1a23d00ba8a862e530c3bab878 /include/fnmatch.h
parent3ca5c03d84e77a1f1375ea037b58f0c4cfd312dc (diff)
Add FNM_FILE_NAME as an alias for FNM_PATHNAME (GNU uses FNM_FILE_NAME).
Diffstat (limited to 'include/fnmatch.h')
-rw-r--r--include/fnmatch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 38cf14fd34c..55e9e5786b7 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fnmatch.h,v 1.3 1997/09/22 05:03:30 millert Exp $ */
+/* $OpenBSD: fnmatch.h,v 1.4 1997/09/22 05:25:32 millert Exp $ */
/* $NetBSD: fnmatch.h,v 1.5 1994/10/26 00:55:53 cgd Exp $ */
/*-
@@ -48,6 +48,7 @@
#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
#define FNM_CASEFOLD 0x10 /* Case insensitive search. */
#define FNM_IGNORECASE FNM_CASEFOLD
+#define FNM_FILE_NAME FNM_PATHNAME
#endif
#include <sys/cdefs.h>