[Bug 45584] New: FindFirstFile fails to correct case when full name supplied

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 5 17:02:30 CDT 2018


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 at winehq.org
          Reporter: us at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list