On Tue, Sep 13, 2011 at 10:15:15AM -0500, Brandon Casey wrote: > ...and I see there is already an fnmatch_icase() in dir.c which adds > FNM_CASEFOLD when the global var ignore_case is set. So, maybe it's as > easy as: > [...] > - return (fnmatch(pattern, basename, 0) == 0); > + return (fnmatch_icase(pattern, basename, 0) == 0); OK, wow. That's exactly the level of easy I was hoping for. Do you want to roll that up into a patch with some tests? -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html