2008/10/17 Vitaly Perov vitperov@etersoft.ru:
From e2eec69ff86960bd6729a3105747310ce9c256fd Mon Sep 17 00:00:00 2001 From: Vitaly Perov vitperov@etersoft.ru Date: Fri, 17 Oct 2008 16:56:46 +0400 Subject: [PATCH] shell32: FOF_MULTIDESTFILES must be set when copying files into directory
dlls/shell32/shlfileop.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c index 49f61d3..e6565ea 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -1382,6 +1382,7 @@ static void move_dir_to_dir(LPSHFILEOPSTRUCTW lpFileOp, const FILE_ENTRY *feFrom fileOp = *lpFileOp; fileOp.pFrom = szFrom; fileOp.pTo = szTo;
fileOp.fFlags |= FOF_MULTIDESTFILES;
SHFileOperationW(&fileOp); RemoveDirectoryW(feFrom->szFullPath);
We've been over this before. This needs a test case. Either way, this doesn't look right. What are you trying to fix?