On Sun Nov 12 12:31:21 2023 +0000, Nikolay Sivov wrote:
This obviously has problems. Just from looking at it, I see a couple of possible leaks. It also changes behaviour regarding error set on insufficient buffer size.
Turns out there is already big differences between Wine and Windows regrading error set. I pushed a rework, also fixed the leaks. Could you please take a look at this as well?