[Bug 17181] Recursive directory deletion fails for multiple DOS apps; bug in INT21_FindFirst/FindNext?
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jan 29 22:42:55 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=17181
--- Comment #2 from Dan Kegel <dank at kegel.com> 2009-01-29 22:42:55 ---
Easiest testcase is
mkdir testdir
mkdir testdir/dir1
mkdir testdir/dir2
wine rm.com /s testdir
This fails to see dir2, so the delete of testdir fails.
It seems that the rmdir of dir1 messes with FINDNEXT's mind.
FINDNEXT dutifully skips forward dta->count entries to
get back where it was... but that's one too far now.
rmdir dir1 has to decrement dta->count somehow if
dir1 is before the mark. Fun!
--
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.
More information about the wine-bugs
mailing list