kernel32: Fix for WritePrivateProfileString Sharing Problem [1/2] (ATTEMPT 2)

Erich Hoover ehoover at
Wed Apr 9 22:40:48 CDT 2008

Real Name:
    Erich Hoover
    Fixes incorrect file sharing mode in PROFILE_FlushFile and PROFILE_Open
that result in WritePrivateProfileString failing under certain
circumstances.  This problem is specifically evident in the "Thief: Deadly
Shadows" installer (demo and full), which writes an empty config file that
later causes the game to crash (Bug #5024). This version sets S_OK for Get*
functions (only Write* functions are affected by this problem).  Conformance
test included in part 2.
  kernel32: Fix for WritePrivateProfileString Sharing Problem
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-for-WritePrivateProfileString-Sharing-Problem.patch
Type: text/x-diff
Size: 3866 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list