[RESENT] Don't duplicate handles for _get_osfhandle

Alexandre Julliard julliard at winehq.org
Wed Feb 15 04:59:38 CST 2006


Uwe Bonnes <bon at 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.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list