http://bugs.winehq.org/show_bug.cgi?id=28365
Summary: rmdir /s wrongly outputs "path not found" message when confirming a recursive directory deletion Product: Wine Version: 1.3.28 Platform: x86-64 OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: frederic.delanoy@gmail.com
Directory is correctly deleted, but we get a spurious "Path not found" message
Example:
Z:\path> mkdir foo
Z:\path> echo > foo\bar
Z:\path> rmdir /s foo foo Are you sure (Y/N)?Y Path not found
http://bugs.winehq.org/show_bug.cgi?id=28365
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |us@edmeades.me.uk
--- Comment #1 from Jason Edmeades us@edmeades.me.uk 2012-09-03 16:35:12 CDT --- This turns out to be a very simple issue - SHFileOperation is passed a list of strings, and needs a double null termination to end the list. We only supply one, so it walks onto whatever is in the memory buffer and attempts to delete that, failing which results in cmd reporting the error message.. Trivial to fix
http://www.winehq.org/pipermail/wine-patches/2012-September/117461.html
http://bugs.winehq.org/show_bug.cgi?id=28365
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |94f9e789c94f90dad3d771cdabd | |ed15aeeedba8f Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com 2012-09-04 13:01:04 CDT --- http://source.winehq.org/git/wine.git/commitdiff/94f9e789c94f90dad3d771cdabd...
http://bugs.winehq.org/show_bug.cgi?id=28365
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2012-09-14 13:33:40 CDT --- Closing bugs fixed in 1.5.13.