https://bugs.winehq.org/show_bug.cgi?id=51846
--- Comment #12 from Ted Lyngmo ted@lyncon.se --- @Rafał Mużyło: Oh, it's not that. Piotr helped a lot via the mailing list, but I'm not a frequent Wine user myself and didn't feel the urge to dig deeper into fixing the bug.
@Piotr Caban: "It looks like the only problem left is fixing the tests for older version of ucrtbase (because old versions of ucrtbase doesn't support x mode)." - Ok, I hope my attempt at fixing the bug and adding a test can be of some use to someone who knows how to do what you suggest. I don't :-)