http://bugs.winehq.com/show_bug.cgi?id=1469
------- Additional Comments From juan@virtual-orbis.com 2003-25-05 15:56 ------- Sorry, but your applied patch was only I found in between 20030408 and 20030508 that met the criteria.
Moreover, browsing more in the debugmsg output it happens that: (under wine-20030408) < 0009:Call kernel32.GetDriveTypeA(406d22d8 "X:\") ret=00401750 < 0009:Ret kernel32.GetDriveTypeA() retval=00000003 ret=00401750 < 0009:Call kernel32.lstrlenA(406d22f4 "X:\\WZSE1.tmp\README.TXT") ret=0040164b < 0009:Ret kernel32.lstrlenA() retval=00000018 ret=0040164b < 0009:Call kernel32.FindFirstFileA(406d22f4 "X:",406d2198) ret=004010a7 < 0009:Ret kernel32.FindFirstFileA() retval=403d7c02 ret=004010a7 ^^^^^^^^ < 0009:Call kernel32.FindClose(403d7c02) ret=004010ba ^^^^^^^^^ ^^^^^^^^ < 0009:Ret kernel32.FindClose() retval=00000001 ret=004010ba < 0009:Call kernel32.FindFirstFileA(406d22f4 "X:\",406d2198) ret=004010a7 < 0009:Ret kernel32.FindFirstFileA() retval=403d77c2 ret=004010a7 ^^^^^^^^ < 0009:Call kernel32.FindClose(403d77c2) ret=004010ba ^^^^^^^^ < 0009:Ret kernel32.FindClose() retval=00000001 ret=004010ba < 0009:Call kernel32.FindFirstFileA(406d22f4 "X:\\WZSE1.tmp",406d2198) ret=004010a7 /////////////////////////////////////////////////////////////////////////
While the same lines shows different behaviour under wine-20030508:
0009:Call kernel32.GetDriveTypeA(406d22d8 "X:\") ret=00401750 0009:Ret kernel32.GetDriveTypeA() retval=00000003 ret=00401750 0009:Call kernel32.lstrlenA(406d22f4 "X:\\WZSE1.tmp\README.TXT") ret=0040164b0009:Ret kernel32.lstrlenA() retval=00000018 ret=0040164b 0009:Call kernel32.FindFirstFileA(406d22f4 "X:",406d2198) ret=004010a7 ^^^^^^^^ 0009:Ret kernel32.FindFirstFileA() retval=ffffffff ret=004010a7 ^^^^^^^^ 0009:Call kernel32.lstrlenA(406d22f4 "X:") ret=004018f5 ^^^^^^^^ 0009:Ret kernel32.lstrlenA() retval=00000002 ret=004018f5 ^^^^^^^^^^ 0009:Call kernel32.FindFirstFileA(406d22f4 "X:\",406d2198) ret=004010a7 0009:Ret kernel32.FindFirstFileA() retval=ffffffff ret=004010a7 ^^^^^^^^ 0009:Call kernel32.lstrlenA(406d22f4 "X:\") ret=004018f5 0009:Ret kernel32.lstrlenA() retval=00000003 ret=004018f5 Then it does: 0009:Call kernel32.CreateDirectoryA(406d22f4 "X:\",00000000) ret=00401112 trace:file:CreateDirectoryW (L"X:\",(nil)) warn:file:CreateDirectoryW Error 'File exists' trying to create directory '/tmp'
Then, would not be this another case of bad documented API in MSDN?