Fix Private Profile Functions for .INI in Current Directory

Robert Shearman R.J.Shearman at warwick.ac.uk
Sun Jun 6 12:38:51 CDT 2004


Hi,

As per MSDN (1), if a relative path to a file is passed in to the
{Get,Write}PrivateProfile* functions then the current directory is tried
first, and then if that fails the Windows directory is used (for both
the opening and creating cases).

Rob

1:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/writeprivateprofilestring.asp

Changelog:
Fix PROFILE_Open to try current directory first and then Windows
directory as a fallback

-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.diff
Type: text/x-patch
Size: 2286 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040606/a339504b/profile.bin


More information about the wine-patches mailing list