[RESENT] Don't duplicate handles for _get_osfhandle

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Feb 15 15:54:01 CST 2006

>>>>> "Alexandre" == Alexandre Julliard <julliard at winehq.org> writes:

    Alexandre> 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).

    Alexandre> It would be nice to also add a test for the case that the
    Alexandre> DuplicateHandle was supposed to fix, so that we can avoid
    Alexandre> reintroducing that bug.

I will try to write more test this weekend.
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the wine-devel mailing list