[pypy-svn] r50407 - pypy/dist/pypy/rlib
fijal at codespeak.net
fijal at codespeak.net
Sun Jan 6 17:25:51 CET 2008
Author: fijal
Date: Sun Jan 6 17:25:51 2008
New Revision: 50407
Modified:
pypy/dist/pypy/rlib/rsocket.py
Log:
Try to fix socketnum, not sure if this is it.
Modified: pypy/dist/pypy/rlib/rsocket.py
==============================================================================
--- pypy/dist/pypy/rlib/rsocket.py (original)
+++ pypy/dist/pypy/rlib/rsocket.py Sun Jan 6 17:25:51 2008
@@ -523,7 +523,7 @@
fd = _c.INVALID_SOCKET
def __init__(self, family=AF_INET, type=SOCK_STREAM, proto=0):
"""Create a new socket."""
- fd = _c.socket(family, type, proto)
+ fd = intmask(_c.socket(family, type, proto))
if _c.invalid_socket(fd):
raise self.error_handler()
# PLAT RISCOS
More information about the Pypy-commit
mailing list