Now, that POSIX requires FNM_CASEFOLD, how about combining fnmatch and fnmatch-gnu [1]?
Or should fnmatch be changed to support FNM_CASEFOLD but not FNM_EXTMATCH, which is still a GNU extension? Also, POSIX added FNM_IGNORECASE which are missing from glibc and Gnulib. This is just an equivalent to FNM_CASEFOLD. I think that is just what Solaris happened to name it in their version [2]. Collin [1] https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/fnmatch.h.html [2] https://docs.oracle.com/cd/E86824_01/html/E54766/fnmatch-3c.html