[pypy-svn] r50394 - pypy/dist/pypy/rlib

fijal at codespeak.net fijal at codespeak.net
Sun Jan 6 17:15:28 CET 2008


Author: fijal
Date: Sun Jan  6 17:15:28 2008
New Revision: 50394

Modified:
   pypy/dist/pypy/rlib/rsocket.py
Log:
Another 64bit-related fix


Modified: pypy/dist/pypy/rlib/rsocket.py
==============================================================================
--- pypy/dist/pypy/rlib/rsocket.py	(original)
+++ pypy/dist/pypy/rlib/rsocket.py	Sun Jan  6 17:15:28 2008
@@ -538,7 +538,7 @@
 
     if hasattr(_c, 'fcntl'):
         def _setblocking(self, block):
-            delay_flag = _c.fcntl(self.fd, _c.F_GETFL, 0)
+            delay_flag = intmask(_c.fcntl(self.fd, _c.F_GETFL, 0))
             if block:
                 delay_flag &= ~_c.O_NONBLOCK
             else:



More information about the Pypy-commit mailing list