[Bug 45935] Race condition in implementation of MoveFile, MoveFileEx, MoveFileWithProgress

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 7 18:10:50 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45935

--- Comment #4 from Joshua <joshudson at gmail.com> ---
Yes, this works reliably on Windows. The Windows version of the resulting
system call is guaranteed to not replace in kernel and there's an opflag
between MOVEFILE_REPLACE_EXISTING or not in the CIFS protocol.

Yes, you'd have to have a fallback, but it'll almost never get invoked. Modern
Linux, BSD, etc. have had rename2 for 10 years. I don't have a Mac to check if
the fallback would be invoked there but at this point it's look pretty silly if
it's still not.

-- 
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