Author: Armin Rigo <ar...@tunes.org>
Branch: errno-again
Changeset: r75353:3e15021a8ad9
Date: 2015-01-15 16:12 +0100
http://bitbucket.org/pypy/pypy/changeset/3e15021a8ad9/

Log:    fix

diff --git a/rpython/rtyper/module/ll_os.py b/rpython/rtyper/module/ll_os.py
--- a/rpython/rtyper/module/ll_os.py
+++ b/rpython/rtyper/module/ll_os.py
@@ -1791,7 +1791,7 @@
             ofs = debug.debug_offset()
             opaqueaddr = rthread.gc_thread_before_fork()
             childpid = rffi.cast(lltype.Signed, os_fork())
-            errno = rffi.cast(rffi.Signed, rposix._get_errno())
+            errno = rffi.cast(lltype.Signed, rposix._get_errno())
             rthread.gc_thread_after_fork(childpid, opaqueaddr)
             if childpid == -1:
                 raise OSError(errno, "os_fork failed")
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to