[pypy-commit] pypy default: fix

pjenvey pypy.commits at gmail.com
Sun Aug 28 23:11:10 EDT 2016


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: 
Changeset: r86671:0d491154d501
Date: 2016-08-28 20:09 -0700
http://bitbucket.org/pypy/pypy/changeset/0d491154d501/

Log:	fix

diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -1159,8 +1159,8 @@
     # 'flags' might be ignored.  Check the result.
     if _WIN32:
         # 'flags' ignored
-        ralloc = lltype.scoped_alloc(rwin32.LPHANDLE.TO, 1, flavor='raw')
-        walloc = lltype.scoped_alloc(rwin32.LPHANDLE.TO, 1, flavor='raw')
+        ralloc = lltype.scoped_alloc(rwin32.LPHANDLE.TO, 1)
+        walloc = lltype.scoped_alloc(rwin32.LPHANDLE.TO, 1)
         with ralloc as pread, walloc as pwrite:
             if CreatePipe(pread, pwrite, lltype.nullptr(rffi.VOIDP.TO), 0):
                 fdread = c_open_osfhandle(


More information about the pypy-commit mailing list