Subject: Re: CVS commit: basesrc
To: Noriyuki Soda <soda@sra.co.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: source-changes
Date: 06/29/2000 07:24:16
On Thu, Jun 29, 2000 at 06:02:49PM +0900, Noriyuki Soda wrote:
> 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?
Look at how it is used in rpc.bootparamd(8); it essentially replaces
a strcasecmp() there.
--
-- Jason R. Thorpe <thorpej@zembu.com>