Source-Changes archive

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

Re: CVS commit: basesrc



> 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



Home | Main Index | Thread Index | Old Index