[Bug 15281] New: PROFILE_Load and friends doesn't handle ini files with CR-only line endings

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 13 18:10:40 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=15281

           Summary: PROFILE_Load and friends doesn't handle ini files with
                    CR-only line endings
           Product: Wine
           Version: 1.1.4
          Platform: PC
               URL: http://www.widescreengamingforum.com/wiki/index.php/UniW
                    S
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: knan-wine at anduin.net


Created an attachment (id=16083)
 --> (http://bugs.winehq.org/attachment.cgi?id=16083)
+profile debug log

UniWS is a universal widescreen patcher used for multiple games.

At launch, wine fails to parse its .ini file correctly and uniws emits the
error message: "Your PATCHES.INI file is for a different patcher version. A new
version of Universal Widescreen Patcher may be available for download."

It turns out that patches.ini is in Mac format (CR-only line endings).
Converting it to CRLF allows the application to start and work.

This works out of the box on windows, only wine users have reported this error
message on message boards.

The shortcoming is in the kernel32:PROFILE_* set of functions. Ought to be
pretty straightforward to fix in PROFILE_Load. The +profile debug log shows the
bug quite clearly.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list