Jason Edmeades : xcopy: /E implies recursive ( fixes ActiveState Perl installer).

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 2 06:23:21 CDT 2007


Module: wine
Branch: master
Commit: b8b8f254d87088eaec430115259d4edcb5eb5fb6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b8b8f254d87088eaec430115259d4edcb5eb5fb6

Author: Jason Edmeades <us at edmeades.me.uk>
Date:   Sat Mar 31 21:31:35 2007 +0100

xcopy: /E implies recursive (fixes ActiveState Perl installer).

---

 programs/xcopy/xcopy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/xcopy/xcopy.c b/programs/xcopy/xcopy.c
index eafc1d7..dfbb41d 100644
--- a/programs/xcopy/xcopy.c
+++ b/programs/xcopy/xcopy.c
@@ -181,7 +181,7 @@ int main (int argc, char *argv[])
                           XCOPY_FailMessage(ERROR_INVALID_PARAMETER);
                           return RC_INITERROR;
                         } else flags |= OPT_EXCLUDELIST;
-                      } else flags |= OPT_EMPTYDIR;
+                      } else flags |= OPT_EMPTYDIR | OPT_RECURSIVE;
                       break;
 
             /* D can be /D or /D: */




More information about the wine-cvs mailing list