Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r86648:304ab96afc72 Date: 2016-08-28 11:13 -0700 http://bitbucket.org/pypy/pypy/changeset/304ab96afc72/
Log: work on the handle diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib/rposix.py @@ -1174,8 +1174,8 @@ fdwrite = c_open_osfhandle(hwrite, 1) if not (fdread == -1 or fdwrite == -1): return (fdread, fdwrite) - rwin32.CloseHandle(hread) - rwin32.CloseHandle(hwrite) + rwin32.CloseHandle(pread) + rwin32.CloseHandle(pwrite) raise WindowsError(rwin32.GetLastError_saved(), "CreatePipe failed") else: filedes = lltype.malloc(INT_ARRAY_P.TO, 2, flavor='raw') _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit