http://bugs.winehq.com/show_bug.cgi?id=1340
------- Additional Comments From andi@rhlx01.fht-esslingen.de 2003-03-31 13:49 ------- Very, very, very strange. file_set_error: No such file or directory should *never* trigger, since we have a valid mapping for ENOENT in file_set_error(). And there's no other errno value that has the same "No such file or directory" error string as errno value ENOENT, so it cannot be an unknown errno value either (yes, I did check all errno error strings, from errno -32768 to 65535). Are you sure your Wine or system isn't totally and utterly hosed? The whole thing works absolutely fine for me with the usual and correct
trace:dosfs:GetDriveTypeW (L"C:\PROGRA~2\TIBIA\IS-BN7T8.TMP") trace:dosfs:GetDriveTypeW (L"C:\PROGRA~2\TIBIA\unins000.exe") warn:file:FILE_CreateFile Unable to create file '/dosc/Programme/Tibia/unins000. exe' (GLE 2) 000b:Ret kernel32.MoveFileA() retval=00000001 ret=004441c2
output on (almost) current CVS.
I mean, your FILE_CreateFile *does* seem to come to the conclusion that the file doesn't exist, but then it totally hoses error code mapping.
In short, I'd suspect that your system is hosed somehow.
If Wine source, which compiler version are you using? Using gcc optimizations? Which glibc?
To me, it looks like it fails to categorize the values in server/file.c/file_set_error() properly (it seems to simply skip all break;s of case switches until it finally arrives at the last "unknown error and print error message" case) In closing, I suspect your Wine binary is totally broken. Correct?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=1340. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.