From 928f1cb7221cd44c49110dc1e738395c8c0cc851 Mon Sep 17 00:00:00 2001 From: Jason Edmeades Date: Sat, 31 Mar 2007 21:49:30 +0100 Subject: [PATCH] xcopy: Hack/workaround for filenames starting with a '.'. --- programs/xcopy/xcopy.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/programs/xcopy/xcopy.c b/programs/xcopy/xcopy.c index dfbb41d8a0..f132dcb440 100644 --- a/programs/xcopy/xcopy.c +++ b/programs/xcopy/xcopy.c @@ -130,6 +130,13 @@ int main (int argc, char *argv[]) } } + /* FIXME: On UNIX, files starting with a '.' are treated as hidden under + wine, but on windows these can be normal files. At least one installer + uses files such as .packlist and (validly) expects them to be copied. + Under wine, if we do not copy hidden files by default then they get + lose */ + flags |= OPT_COPYHIDSYS; + /* Skip first arg, which is the program name */ argvW++; -- 2.32.0.93.g670b81a890