http://bugs.winehq.org/show_bug.cgi?id=17917
Paul Vriens Paul.Vriens.Wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Paul.Vriens.Wine@gmail.com
--- Comment #4 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-04-02 04:48:45 --- Looks like the number of empty sections ([]) is equal to the total number of values - 1. Coincidence?
This piece from profile.c looks suspicious:
*p++ = '['; if (section->name[0]) { strcpyW( p, section->name ); p += strlenW(p); } *p++ = ']'; *p++ = '\r'; *p++ = '\n';
If we don't have a section name we will write "[]\r\n".