[PATCH 2/2] xcopy: Fix command line parsing logic.

Martin Wilck Martin.Wilck at particle-dynamics.de
Tue Oct 26 18:49:06 CDT 2010


Experiments show xcopy under Windows does not use argc/argv logic
for treating double quotes and backslashes. The xcopy logic is
simplified because literal quotes are illegal in Windows file names,
thus escaped double quotes (\") need not be treated.
'XCOPY "c:\dir a" "c:\dir b\"' works under Windows, but not
under wine. This patch fixes this.
---
 programs/xcopy/xcopy.c |  144
++++++++++++++++++++++++++++++++++-------------
 1 files changed, 104 insertions(+), 40 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-xcopy-Fix-command-line-parsing-logic.txt
Type: text/x-patch
Size: 9154 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101027/51a9b8a5/attachment-0001.bin>


More information about the wine-patches mailing list