[Bug 11824] New: handling trailing space in .reg files

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 3 10:44:51 CST 2008


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

           Summary: handling trailing space in .reg files
           Product: Wine
           Version: 0.9.56.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: hoehle at users.sourceforge.net


Hi,

I wonder whether it's too much to ask to be bug-compatible with MS-Windows.
The attached .reg file contains several trailing spaces.

Actually, there are 2 issues here:
1. wine regedit wineregbug.reg yields an error.
regedit: ERROR, invalid hex value
regedit: ERROR Key HKEY_CURRENT_USER\Software\WineRegBugSpace\FooBar not
created. Value: Language, Data: dword:00000001
Caused by trailing space after "Language"=dword:00000001

2. "SaveDir"="\" " is created in user.reg where ="" is expected, disregarding
the trailing space.

The same file, ran through regedit on MS-Windows 95 causes no error, and the
entries are created as expected, esp. "SaveDir"="".

I'm sorry that I did not write in my notes which application had such a .reg
file which caused me to observe and investigate these behaviours.


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