http://bugs.winehq.org/show_bug.cgi?id=14901
Summary: MoveFile fails when used to recase some letters of the filename Product: Wine Version: 1.1.2 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: redneb@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 Ubuntu).