[PATCH 9/8 :-)] XCOPY: /E implies recursive (fixes activestate perl installer)

Jason Edmeades us at edmeades.me.uk
Sat Mar 31 15:31:35 CDT 2007


---
 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: */
-- 
1.5.0




More information about the wine-patches mailing list