Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de writes:
Changelog: wine/dlls/msvcrt/file.c: _get_osfhandle Don't duplicate handles, otherwise they leak
This time with test case that fails without the patch (but succeed with native msvcrt).
It would be nice to also add a test for the case that the DuplicateHandle was supposed to fix, so that we can avoid reintroducing that bug.