[Bug 31987] New: FindNextFile/DeleteFile loop fails for directories with many files
http://bugs.winehq.org/show_bug.cgi?id=31987 Bug #: 31987 Summary: FindNextFile/DeleteFile loop fails for directories with many files Product: Wine Version: unspecified Platform: x86 OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: aric(a)codeweavers.com Classification: Unclassified Created attachment 42153 --> http://bugs.winehq.org/attachment.cgi?id=42153 patch to show the issue Doing a looping FindNextFile/DeleteFile is suppose to work on windows. On wine if your directory contains enough files to fill the data in FIND_FIRST_INFO. Then when FindNextFile reloads the directory structure it causes it so skip a bunch of files because the state of the directory has changed. The attached patch adds a wine test that demonstrates the issue. You will notice in the trace a jump file.c:2319: c:\test-dir\file38.a.a file.c:2319: c:\test-dir\file68.a.a this means files 39 - 67 do not get deleted. resulting in the RemoveDirectory failing. This issue affects the MechWarrior Online Patcher. -- 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=31987 Aric Stewart <aric(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #42153|0 |1 is patch| | Attachment #42153|application/octet-stream |text/plain mime type| | -- 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=31987 Aric Stewart <aric(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.5.15 -- 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=31987 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7ce90cc7198a6dee75a999e9502 | |ff997e5d3a763 Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> 2013-02-18 13:29:21 CST --- Should be fixed by 7ce90cc7198a6dee75a999e9502ff997e5d3a763. -- 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=31987 --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> 2013-03-01 14:50:10 CST --- Closing bugs fixed in 1.5.25. -- 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=31987 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2013-03-01 15:09:44 CST --- Really closing bugs fixed in 1.5.25. -- 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