[Bug 14901] New: MoveFile fails when used to recase some letters of the filename

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 18 01:13:45 CDT 2008


           Summary: MoveFile fails when used to recase some letters of the
           Product: Wine
           Version: 1.1.2
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: redneb at mailinator.com

When my program executes the MoveFile windows API function having as arguments
two  strings that are equal (in a case insensitive way) then MoveFile fails and
GetLastError returns 183 (i.e. "File already exists"). For example, assume that
the current directory contains a file "foobar". If you run
MoveFile("foobar","Foobar") you will get the above error. On the contrary this
works fine under windows. Even MoveFile("foobar","foobar") works under windows.
I have tested that with 0.9.61/1.1.0/1.1.2 (under Gentoo) and 1.0.0 (under

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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