[PATCH] shell32: Fix SHFileOperation(FO_MOVE) on non-exist files.

Zhenbo Li litimetal at gmail.com
Sat Sep 5 22:54:27 CDT 2015

The previous test for no outgoing files had chosen a non-exist file.

If we're trying FO_MOVE on an existent file, and there is no 
destination, windows will return DE_SAMEFILE on Vista or later

  dlls/shell32/shlfileop.c       |  5 ++++-
  dlls/shell32/tests/shlfileop.c | 17 +++++++++++------
  2 files changed, 15 insertions(+), 7 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shell32-Fix-SHFileOperation-FO_MOVE-on-non-exist-files.txt
Type: text/x-patch
Size: 2291 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150906/01b98c5a/attachment.bin>

More information about the wine-patches mailing list