https://bugs.winehq.org/show_bug.cgi?id=44310
--- Comment #1 from Omega Software development@winomega.com --- Created attachment 60149 --> https://bugs.winehq.org/attachment.cgi?id=60149 fix for current git
Attached patch fixes the problem in current git, by checking for PROFILE_FlushFile result (instead of just PROFILE_SetString).