Author: Richard Plangger <[email protected]>
Branch: release-5.x
Changeset: r83393:78860f97739e
Date: 2016-01-22 14:56 +0100
http://bitbucket.org/pypy/pypy/changeset/78860f97739e/

Log:    macros (e.g. WCOREDUMP) got parameter type Signed, on little endian
        this does not make a difference, but it does on big endian. changed
        to rffi.INT

diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -827,7 +827,7 @@
         lltype.free(status_p, flavor='raw')
 
 def _make_waitmacro(name):
-    c_func = external(name, [lltype.Signed], lltype.Signed,
+    c_func = external(name, [rffi.INT], lltype.Signed,
                       macro=_MACRO_ON_POSIX)
     returning_int = name in ('WEXITSTATUS', 'WSTOPSIG', 'WTERMSIG')
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to