http://bugs.winehq.org/show_bug.cgi?id=25910
Summary: Notepad tries to open a file using wrong sharing mode Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: exclusion@gmail.com
Notepad can't open file, that was opened in another program for writing, while Windows notepad can do it. Difference is in call to CreateFileW.
Wine notepad: trace:file:CreateFileW L"D:\Pr\Trillian\users\default\logs\ICQ\xxxxxx.log" GENERIC_READ FILE_SHARE_READ creation 3 attributes 0x80
Windows notepad: trace:file:CreateFileW L"D:\Pr\Trillian\users\default\logs\ICQ\xxxxxx.log" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE creation 3 attributes 0x80
In particular, I can't open contact history in Trillian (IM client) while Message window of the contact is open (and the log file is opened for writing).