Hi Paul,

Paul Eggert <egg...@cs.ucla.edu> writes:

> Can you remind me why we have the two modules? If that reason still
> applies, we should follow the suggestion above; otherwise I suppose we
> should have just one module.

>From double checking the docs, fnmatch-gnu has the following additional
flags:

1. FNM_FILE_NAME

  * Alias for FNM_PATHNAME used by glibc.

2. FNM_LEADING_DIR

  * A glibc extension.

3. FNM_CASEFOLD

  * Previously a glibc extension, added in POSIX 2024.

4. FNM_EXTMATCH

  * A glibc extension.

It appears that the only difference is the ./configure check. So maybe
the correct thing to do is add FNM_CASEFOLD tests to the fnmatch
module. For packages that don't make use of the other flags.

Collin

Reply via email to