[Bug 44310] WritePrivateProfileString doesn't check for flush errors

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 9 15:52:23 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=44310

--- Comment #7 from Fabian Maurer <dark.shadow4 at web.de> ---
Created attachment 60203
  --> https://bugs.winehq.org/attachment.cgi?id=60203
test cases

That's a good question actually. You most likely will have to create the needed
setting yourself, i.e. make a location where it can't save the profile to.

Setting the readonly attribute on the file is not enough, since wine already
checks this. But you can use ACL to forbid everyone to write to the folder!
I found that to be a though one, I attached two tests that you can use, if you
want. It should already work fine, but I kinda created them in a hurry, so no
warranty.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list