[RESEND] Fix Win16 GetPrivateProfileString regression

Richard Cohen richard at daijobu.co.uk
Wed Aug 10 04:35:36 CDT 2005


Rediffed against current CVS.

Richard Cohen wrote:
> http://www.winehq.com/hypermail/wine-cvs/2005/03/0021.html
> 
> Rein Klazes <wijn at wanadoo.nl>
> When enumerating keys using Get(Private)ProfileString do not include
> lines without an '=' character. Added a test that shows the behavior.
> 
> caused a regression in 16bit installers using MSTEST.
> 
> MSTEST checks if a section exists by calling 
> GetPrivateProfileString(section, NULL, ..., common.inf)
> and none of the keys contains an =.
> 
> Richard.
> 
> 
> Changelog
> - Fix regression in GetPrivateProfileString16 for key=NULL.
> - Check return values in Profile tests.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.diff
Type: text/x-patch
Size: 5839 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050810/fdd7d0f3/profile.bin


More information about the wine-patches mailing list