[Bug 10452] New: CreateFile with OPEN_ALWAYS should return ERROR_ALREADY_EXISTS on existent file
http://bugs.winehq.org/show_bug.cgi?id=10452 Summary: CreateFile with OPEN_ALWAYS should return ERROR_ALREADY_EXISTS on existent file Product: Wine Version: 0.9.49. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-kernel AssignedTo: wine-bugs(a)winehq.org ReportedBy: Paolo.Gallerani(a)elsag.it Created an attachment (id=9157) --> (http://bugs.winehq.org/attachment.cgi?id=9157) Memory Mapped File Test Source When I use Create file to create/open file used for File Memory Mapping with a call like: hFile = ::CreateFile(lpImageFileName, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, lpFileMappingAttributes, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); on a second run of application (file now exists) GetLastError should return ERROR_ALREADY_EXISTS like it does on Windows XP SP2. See attached Test Application -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10452 --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2007-11-15 01:16:18 --- Thanks for the report. I sent a patch to wine-patches which should address this. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10452 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #2 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2007-11-16 08:44:35 --- The patch has been committed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10452 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Dan Kegel <dank(a)kegel.com> 2008-01-28 05:43:14 --- Closing all RESOLVED FIXED bugs older than four weeks. -- 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