https://bugs.winehq.org/show_bug.cgi?id=45584
Bug ID: 45584 Summary: FindFirstFile fails to correct case when full name supplied Product: Wine Version: 3.13 Hardware: x86 OS: Linux Status: NEW Severity: minor Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: us@edmeades.me.uk Distribution: ---
Created attachment 62002 --> https://bugs.winehq.org/attachment.cgi?id=62002 Simple testcase in c
FindFirstFile can be used to correct the case of a file. In fact when trying to correct the case of the whole path and file, a google implies its a good routine to use to pass each part of the directory tree through
Problem: If findfirstfile isnt passed a wildcard, it looks for the file in question and if it exists, returns the case of the file as supplied, not the case as it is on disk
Try supplied testcase.
I think this can also be seen by: wine cmd dir >ABCD dir abcd
Note in the directory listing it shows abcd, not ABCD
https://bugs.winehq.org/show_bug.cgi?id=45584
--- Comment #1 from Jason Edmeades us@edmeades.me.uk --- Created attachment 62003 --> https://bugs.winehq.org/attachment.cgi?id=62003 Compiled testcase
https://bugs.winehq.org/show_bug.cgi?id=45584
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Still present in wine-9.20
https://bugs.winehq.org/show_bug.cgi?id=45584
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Sorry, was too quick. wine-3.13, wine-9.20 and Win7 all output
Searching for 'ABcdEFgh': Found 'abcdEFGH'
Not seeing any bug here?