http://bugs.winehq.org/show_bug.cgi?id=14627
Rafał Mużyło galtgendo@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16759|0 |1 is obsolete| |
--- Comment #20 from Rafał Mużyło galtgendo@o2.pl 2008-10-21 08:30:18 --- Created an attachment (id=16772) --> (http://bugs.winehq.org/attachment.cgi?id=16772) a better working patch
This patch (while still incorrect, cause it's most probably broken for REGEDIT4) finally produces regfiles that are just like the Windows ones. I'm not sure about multiline strings, cause I didn't have an example of how it should look like, but single strings and hex values seem correct. Only difference I could see was an extra empty line at the end of the Windows file.
As you may see, most important change was opening as binary. Correct fix would probably be fixing fopen to work with wchar text output.