Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3.3
Changeset: r73640:57188ff5ab4e
Date: 2014-09-21 16:31 -0700
http://bitbucket.org/pypy/pypy/changeset/57188ff5ab4e/

Log:    sys.platform linux2 -> linux

diff --git a/lib_pypy/ctypes_support.py b/lib_pypy/ctypes_support.py
--- a/lib_pypy/ctypes_support.py
+++ b/lib_pypy/ctypes_support.py
@@ -22,7 +22,7 @@
     def _where_is_errno():
         return standard_c_lib._errno()
 
-elif sys.platform in ('linux2', 'freebsd6'):
+elif sys.platform in ('linux', 'freebsd6'):
     standard_c_lib.__errno_location.restype = ctypes.POINTER(ctypes.c_int)
     standard_c_lib.__errno_location.argtypes = None
     def _where_is_errno():
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to