[pypy-svn] r50271 - pypy/dist/pypy/rlib
fijal at codespeak.net
fijal at codespeak.net
Wed Jan 2 22:07:35 CET 2008
Author: fijal
Date: Wed Jan 2 22:07:33 2008
New Revision: 50271
Modified:
pypy/dist/pypy/rlib/rposix.py
Log:
errno is really rffi.INT, not lltype.Signed, sigh
Modified: pypy/dist/pypy/rlib/rposix.py
==============================================================================
--- pypy/dist/pypy/rlib/rposix.py (original)
+++ pypy/dist/pypy/rlib/rposix.py Wed Jan 2 22:07:33 2008
@@ -1,4 +1,4 @@
-from pypy.rpython.lltypesystem.rffi import CConstant, CExternVariable
+from pypy.rpython.lltypesystem.rffi import CConstant, CExternVariable, INT
from pypy.rpython.lltypesystem import lltype, ll2ctypes
from pypy.translator.tool.cbuild import ExternalCompilationInfo
from pypy.rlib.rarithmetic import intmask
@@ -21,7 +21,7 @@
includes=['errno.h']
)
-_get_errno, set_errno = CExternVariable(lltype.Signed, 'errno', errno_eci,
+_get_errno, set_errno = CExternVariable(INT, 'errno', errno_eci,
CConstantErrno, sandboxsafe=True)
def get_errno():
More information about the Pypy-commit
mailing list