regedit: Allows semicolon comments

Bruno Jesus 00cpxxx at gmail.com
Thu Apr 26 23:40:47 CDT 2012


Currently if a line with anything but @ and " is detected in
processRegEntry it closes the regkey and further additions to it are
ignored, so if we have something like the following file regedit will
ignore the next lines until a new regkey is opened.

REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\MenuFiles]
;test
"sample.lnk"="sample.lnk"

So we simply need to interpret these semicolon lines as comments and
safely ignore them.

Fixes bug http://bugs.winehq.org/show_bug.cgi?id=27192
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allows-semicolon-comments.patch
Type: application/octet-stream
Size: 1243 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120427/2c6d888a/attachment.obj>


More information about the wine-patches mailing list