[pypy-commit] pypy s390x-backend: 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
plan_rich
pypy.commits at gmail.com
Fri Jan 22 08:57:11 EST 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch: s390x-backend
Changeset: r81914:43db866bfbb3
Date: 2016-01-22 14:56 +0100
http://bitbucket.org/pypy/pypy/changeset/43db866bfbb3/
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
@@ -871,7 +871,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')
More information about the pypy-commit
mailing list