[PATCH] xcopy: assume directory if destination ends with a backslash

Martin Wilck Martin.Wilck at particle-dynamics.de
Thu Nov 4 18:34:26 CDT 2010

'xcopy dir1 dir2\' will not ask if dir2 is directory or file.
Windows' xcopy behaves this way.

Signed-off-by: Martin Wilck <martin.wilck at particle-dynamics.de>
 programs/xcopy/xcopy.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xcopy-assume-directory-if-destination-ends-with-a-back.txt
Type: text/x-patch
Size: 735 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101105/8827bd9c/attachment.bin>

More information about the wine-patches mailing list