https://bz.apache.org/ooo/show_bug.cgi?id=86655
orcmid <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from orcmid <[email protected]> --- (In reply to damjan from comment #4) > Created attachment 85148 [details] > Do case insensitive wildcard matching on Windows > > Here is the patch. I would like feedback about the above questions before > committing, as well as testing on various platforms (is <ctype> available > everywhere?). <ctype.h> certainly should be defined everywhere. It's been in C a very long time and grandfathered into C++ (along with C++ library-naming <cctype> which may be interchangeable with it). I confirm that the way Windows does this, the file system allows mixed-case long filenames. However, the first spelling wins and any other spelling of the same long name will match that one. It is generally not possible to have two filenames (or directory names) in the same directory that differ only by case. However, if there happen to be more than one by some amazing combination of circumstances, a case-insensitive directory search might cough them all up. (I shudder to think what the edge cases are if we're talking about a shared directory mounted from a different type of file system). In any case, I agree that the use of case-insensitive wild-card matching for Windows directory and file names is inescapable. -- You are receiving this mail because: You are on the CC list for the issue.
