[pypy-svn] r45349 - pypy/dist/pypy/rpython/module

pedronis at codespeak.net pedronis at codespeak.net
Thu Jul 26 17:16:57 CEST 2007


Author: pedronis
Date: Thu Jul 26 17:16:56 2007
New Revision: 45349

Modified:
   pypy/dist/pypy/rpython/module/ll_os.py
Log:
break less spectacularly on os x, probably it breaks translation tough



Modified: pypy/dist/pypy/rpython/module/ll_os.py
==============================================================================
--- pypy/dist/pypy/rpython/module/ll_os.py	(original)
+++ pypy/dist/pypy/rpython/module/ll_os.py	Thu Jul 26 17:16:56 2007
@@ -126,7 +126,7 @@
 
 # ------------------------------- os.uname ------------------------------
 
-if hasattr(os, 'uname'):
+if False and hasattr(os, 'uname'): # make it more portable
     lgt = platform.intdefined('_UTSNAME_LENGTH', includes=['sys/utsname.h'])
     UTCHARP = lltype.FixedSizeArray(lltype.Char, lgt)
     fields = [('sysname', UTCHARP),



More information about the Pypy-commit mailing list