Author: Richard Plangger <planri...@gmail.com>
Branch: s390x-backend
Changeset: r82261:bb5b1c0fef8d
Date: 2016-02-15 13:29 +0100
http://bitbucket.org/pypy/pypy/changeset/bb5b1c0fef8d/

Log:    extended comment + issue in libc (rposix macro expansion)

diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py
--- a/rpython/rlib/rposix.py
+++ b/rpython/rlib/rposix.py
@@ -874,6 +874,10 @@
     # 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
+    # reason: legacy code required a union wait. see
+    # https://sourceware.org/bugzilla/show_bug.cgi?id=19613
+    # for more details. If this get's fixed we can use lltype.Signed
+    # again.
     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

Reply via email to