Author: Richard Plangger <planri...@gmail.com> Branch: s390x-backend Changeset: r81922:dcf9b353608e Date: 2016-01-22 18:03 +0100 http://bitbucket.org/pypy/pypy/changeset/dcf9b353608e/
Log: added comment to my last commit diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib/rposix.py @@ -871,6 +871,9 @@ lltype.free(status_p, flavor='raw') def _make_waitmacro(name): + # note that rffi.INT as first parameter type is intentional. + # on s390x providing a lltype.Signed as param type, the + # macro wrapper function will always return 0 c_func = external(name, [rffi.INT], lltype.Signed, macro=_MACRO_ON_POSIX) returning_int = name in ('WEXITSTATUS', 'WSTOPSIG', 'WTERMSIG') _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit