You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 330dc601978922aa1d5864d29d94882d6b1990d1.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
From 7c3743c12f6b8a7fa015da3c231d1b0817978e4b Mon Sep 17 00:00:00 2001
|
||||
From 147822d028471e1ffa83193c9df85c4f7c04bc8b Mon Sep 17 00:00:00 2001
|
||||
From: Zhenbo Li <litimetal@gmail.com>
|
||||
Date: Fri, 14 Aug 2015 21:18:43 +0800
|
||||
Subject: shell32: Fix SHFileOperation(FO_MOVE) for creating subdirectories.
|
||||
Subject: [PATCH] shell32: Fix SHFileOperation(FO_MOVE) for creating
|
||||
subdirectories.
|
||||
|
||||
This patch fixes bug 25207.
|
||||
---
|
||||
@@ -10,10 +11,10 @@ This patch fixes bug 25207.
|
||||
2 files changed, 7 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
|
||||
index c843dd7..e7f8107 100644
|
||||
index 17a8e7046c7..01e1ab13bf5 100644
|
||||
--- a/dlls/shell32/shlfileop.c
|
||||
+++ b/dlls/shell32/shlfileop.c
|
||||
@@ -1427,7 +1427,11 @@ static int move_files(LPSHFILEOPSTRUCTW lpFileOp, const FILE_LIST *flFrom, const
|
||||
@@ -1420,7 +1420,11 @@ static int move_files(LPSHFILEOPSTRUCTW lpFileOp, const FILE_LIST *flFrom, const
|
||||
}
|
||||
|
||||
if (!PathFileExistsW(flTo->feFiles[0].szDirectory))
|
||||
@@ -27,10 +28,10 @@ index c843dd7..e7f8107 100644
|
||||
if (lpFileOp->fFlags & FOF_MULTIDESTFILES)
|
||||
mismatched = flFrom->dwNumFiles - flTo->dwNumFiles;
|
||||
diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
|
||||
index d33ad5b..108d65e 100644
|
||||
index 273b09d5005..ed1c25a3528 100644
|
||||
--- a/dlls/shell32/tests/shlfileop.c
|
||||
+++ b/dlls/shell32/tests/shlfileop.c
|
||||
@@ -2205,13 +2205,13 @@ static void test_move(void)
|
||||
@@ -2306,13 +2306,13 @@ static void test_move(void)
|
||||
ok(!DeleteFileA("d.txt"), "Expected d.txt to not exist\n");
|
||||
}
|
||||
|
||||
@@ -43,9 +44,9 @@ index d33ad5b..108d65e 100644
|
||||
{
|
||||
- /* Vista and W2K8 (broken or new behavior ?) */
|
||||
+ /* New behavior on Vista or later */
|
||||
ok(retval == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", retval);
|
||||
ok(retval == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %ld\n", retval);
|
||||
ok(DeleteFileA("dir1\\dir2\\test2.txt"), "Expected dir1\\dir2\\test2.txt to exist\n");
|
||||
RemoveDirectoryA("dir1\\dir2");
|
||||
--
|
||||
2.5.0
|
||||
2.35.1
|
||||
|
||||
|
Reference in New Issue
Block a user