cmd: WCMD_delete: fix /s for dirnames containing spaces, add test (try 2)

Dan Kegel dank at kegel.com
Wed Jun 1 21:19:59 CDT 2011


Move the loop body of WCMD_delete into a new function WCMD_delete_one
Recurse via that function rather than WCMD_delete
Add a test for del /s with directory names containing spaces
Fixes http://bugs.winehq.org/show_bug.cgi?id=26885

This is the non-ugly fix Alexandre was asking for in
http://www.winehq.org/pipermail/wine-devel/2011-April/089817.html

(The refactoring removed a scope, unindenting lots of code, so
reading the patch is easier if you apply it first, then do 'git diff -b'.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cmd-WCMD_delete-fix-s-for-dirnames-containing-spaces.patch
Type: text/x-patch
Size: 17391 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110601/6960c6a9/attachment-0001.bin>


More information about the wine-patches mailing list