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@winehq.org ReportedBy: hoehle@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.