http://bugs.winehq.org/show_bug.cgi?id=35495
Bug ID: 35495 Summary: sharing violation and prompt for copy /B file1+file2 file1 Product: Wine Version: 1.7.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: htl10@users.sourceforge.net Classification: Unclassified
copy /B file1+file2 file1
(to do append in a rather old nmake MSVC build script)
results in sharing violation and prompts, and error. Obviously, under genuine windows, there is no prompt to confirm, nor the sharing violation message.
The actual behavior is this:
-------------
copy /B file1+file2 file1
Overwrite file1? (Yes|No)yes Sharing violation.
Overwrite file1? (Yes|No)yes
copy file1+file2 file1
Overwrite file1? (Yes|No)yes err:cmd:WCMD_ManualCopy Unexpected failure writing to L"file1", rc=6 Invalid handle.
Overwrite file1? (Yes|No)yes -----------
The expected behavior should be silent for /B .