summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-01-02 18:27:22 +0000
committerache <ache@FreeBSD.org>1997-01-02 18:27:22 +0000
commit6f84500f3d910e895ca9b6222ec83b9a5df844a8 (patch)
tree4724b3253b1e24020855c072b2133b94d1b1aa96 /include
parentee6b3403ec53eb47681dd02a171511be824723d7 (diff)
downloadFreeBSD-src-6f84500f3d910e895ca9b6222ec83b9a5df844a8.zip
FreeBSD-src-6f84500f3d910e895ca9b6222ec83b9a5df844a8.tar.gz
Add FNM_NOCASE and FNM_IGNORECASE as synonyms to FNM_CASEFOLD
for better compatibility with other systems
Diffstat (limited to 'include')
-rw-r--r--include/fnmatch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 151aabe..2cf71d1 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -44,6 +44,8 @@
#ifndef _POSIX_SOURCE
#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
#define FNM_CASEFOLD 0x10 /* Case insensitive search. */
+#define FNM_NOCASE FNM_CASEFOLD
+#define FNM_IGNORECASE FNM_CASEFOLD
#endif
#include <sys/cdefs.h>
OpenPOWER on IntegriCloud