Subject: Re: CVS commit: basesrc
To: Jason R Thorpe <thorpej@netbsd.org>
From: Noriyuki Soda <soda@sra.co.jp>
List: source-changes
Date: 06/29/2000 18:02:49
> Modified Files:
> basesrc/include: fnmatch.h
> basesrc/lib/libc/gen: fnmatch.3 fnmatch.c
>
> Log Message:
> Implement FNM_CASEFOLD, for matching the pattern in a case-insensitive
> way. Flag name taken from glibc.
Mmmm, case-insensitive filename mattching is very difficult to
implement correctly, because a filename comparison rule depends on
filesystem.
The implementation of a rule requires kernel support. For example,
japanese MS-DOS filesystem has a different rule from english MS-DOS
filesystem, since japanese MS-DOS uses multibyte codeset for it's
filename.
How will we use FNM_CASEFOLD?
--
soda