aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-01-02 18:27:22 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-01-02 18:27:22 +0000
commite1a1573d6f179470cdf0f03bd02220eb1f9bca7e (patch)
tree4724b3253b1e24020855c072b2133b94d1b1aa96 /include
parentcc59ca21855676905a06c6766059d322edf02319 (diff)
downloadsrc-e1a1573d6f179470cdf0f03bd02220eb1f9bca7e.tar.gz
src-e1a1573d6f179470cdf0f03bd02220eb1f9bca7e.zip
Add FNM_NOCASE and FNM_IGNORECASE as synonyms to FNM_CASEFOLD
for better compatibility with other systems
Notes
Notes: svn path=/head/; revision=21227
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 151aabe166a9..2cf71d148383 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>