Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/lib/libc/gen Pull up rev. 1.14:



details:   https://anonhg.NetBSD.org/src/rev/c31b282a3df8
branches:  netbsd-1-5
changeset: 488391:c31b282a3df8
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jul 03 22:29:48 2000 +0000

description:
Pull up rev. 1.14:
Implement FNM_CASEFOLD, for matching the pattern in a case-insensitive
way.  Flag name taken from glibc.

diffstat:

 lib/libc/gen/fnmatch.3 |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 05270f4db744 -r c31b282a3df8 lib/libc/gen/fnmatch.3
--- a/lib/libc/gen/fnmatch.3    Mon Jul 03 22:29:20 2000 +0000
+++ b/lib/libc/gen/fnmatch.3    Mon Jul 03 22:29:48 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fnmatch.3,v 1.13 1998/02/05 18:46:17 perry Exp $
+.\"    $NetBSD: fnmatch.3,v 1.13.10.1 2000/07/03 22:29:48 thorpej Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -98,6 +98,8 @@
 .Dv FNM_PATHNAME
 is set,
 a period is ``leading'' if it immediately follows a slash.
+.It Dv FNM_CASEFOLD
+The pattern is matched in a case-insensitive fashion.
 .El
 .Sh RETURN VALUES
 The
@@ -117,6 +119,11 @@
 .Fn fnmatch
 function conforms to
 .St -p1003.2-92 .
+The
+.Dv FNM_CASEFOLD
+flag is a
+.Nx
+extension.
 .Sh HISTORY
 The
 .Fn fnmatch



Home | Main Index | Thread Index | Old Index