[Bug 28365] New: rmdir /s wrongly outputs "path not found" message when confirming a recursive directory deletion
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(a)winehq.org ReportedBy: frederic.delanoy(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28365 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk --- Comment #1 from Jason Edmeades <us(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28365 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |94f9e789c94f90dad3d771cdabd | |ed15aeeedba8f Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2012-09-04 13:01:04 CDT --- http://source.winehq.org/git/wine.git/commitdiff/94f9e789c94f90dad3d771cdabd... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=28365 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2012-09-14 13:33:40 CDT --- Closing bugs fixed in 1.5.13. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org