Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/include Pull up rev. 1.7:
details: https://anonhg.NetBSD.org/src/rev/05270f4db744
branches: netbsd-1-5
changeset: 488390:05270f4db744
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Jul 03 22:29:20 2000 +0000
description:
Pull up rev. 1.7:
Implement FNM_CASEFOLD, for matching the pattern in a case-insensitive
way. Flag name taken from glibc.
diffstat:
include/fnmatch.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r bb04300f27e6 -r 05270f4db744 include/fnmatch.h
--- a/include/fnmatch.h Mon Jul 03 22:28:05 2000 +0000
+++ b/include/fnmatch.h Mon Jul 03 22:29:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fnmatch.h,v 1.6 1998/01/13 12:45:02 kleink Exp $ */
+/* $NetBSD: fnmatch.h,v 1.6.10.1 2000/07/03 22:29:20 thorpej Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -38,12 +38,17 @@
#ifndef _FNMATCH_H_
#define _FNMATCH_H_
+#include <sys/featuretest.h>
+
#define FNM_NOMATCH 1 /* Match failed. */
#define FNM_NOSYS 2 /* Function not implemented. */
#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
+#if !defined(_POSIX_C_SOURCE)
+#define FNM_CASEFOLD 0x08 /* Pattern is matched case-insensitive */
+#endif
#include <sys/cdefs.h>
Home |
Main Index |
Thread Index |
Old Index