Fix Private Profile Functions for .INI in Current Directory

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


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).



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 :

More information about the wine-patches mailing list