shell32: Fix SHFileOperation when deleting a nonexistent directory. (try 2)

Zhenbo Li litimetal at gmail.com
Tue May 20 20:23:36 CDT 2014


Thanks Alexandre

try 2:
     1. Let SHELL_DeleteDirectoryW return DWORD
     2. Get the right return value by
	ret = SHNotifyRemoveDirectoryW(pszDir)
origin:
Thanks Bruno Jesus
This patch would fix bug 34324, by returning correct
error value of SHFileOperation.

---
  dlls/shell32/shlfileop.c       | 55 
+++++++++++++++++++++---------------------
  dlls/shell32/tests/shlfileop.c |  4 ---
  2 files changed, 27 insertions(+), 32 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shell32-Fix-SHFileOperation-when-deleting-a-nonexisten.txt
Type: text/x-patch
Size: 4802 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140521/3ae01a40/attachment.bin>


More information about the wine-patches mailing list