[pypy-svn] r47037 - pypy/dist/pypy/rlib
fijal at codespeak.net
fijal at codespeak.net
Sun Sep 30 13:55:52 CEST 2007
Author: fijal
Date: Sun Sep 30 13:55:52 2007
New Revision: 47037
Modified:
pypy/dist/pypy/rlib/_rsocket_rffi.py
Log:
This hack seems to be no longer needed
Modified: pypy/dist/pypy/rlib/_rsocket_rffi.py
==============================================================================
--- pypy/dist/pypy/rlib/_rsocket_rffi.py (original)
+++ pypy/dist/pypy/rlib/_rsocket_rffi.py Sun Sep 30 13:55:52 2007
@@ -297,17 +297,6 @@
sockaddr_ptr.TO.become(cConfig.sockaddr)
addrinfo_ptr.TO.become(cConfig.addrinfo)
-# HACK HACK HACK
-if _MS_WINDOWS:
- pass #XXX
- #from ctypes import Structure
- #for struct in cConfig.__dict__.values():
- # if isinstance(struct, type) and issubclass(struct, Structure):
- # if struct.__name__ == 'in6_addr':
- # struct.__name__ = '_in6_addr'
- # else:
- # struct._external_ = True # hack to avoid redeclaration of the struct in C
-
# fill in missing constants with reasonable defaults
cConfig.NI_MAXHOST = cConfig.NI_MAXHOST or 1025
cConfig.NI_MAXSERV = cConfig.NI_MAXSERV or 32
More information about the Pypy-commit
mailing list