Message23740
Logged In: YES
user_id=71407
Some additional observations:
socketmodule.c compiles with gcc 3.3 under IRIX 6.5.21 after
applying this simple-minded patch (relative to Python 2.4):
--- socketmodule.c.orig 2004-11-07 06:24:25.000000000 -
0800
+++ socketmodule.c 2004-12-30 08:06:01.896160200 -
0800
@@ -280,6 +280,10 @@
# include "addrinfo.h"
#endif
+#if defined(__sgi) && defined(__GNUC__) && !defined
(NI_NUMERICHOST)
+# define NI_NUMERICHOST 0x00000002
+#endif
+
#ifndef HAVE_INET_PTON
int inet_pton(int af, const char *src, void *dst);
const char *inet_ntop(int af, const void *src, char *dst,
socklen_t size);
This test works OK:
./python Lib/test/test_socket.py
But this one doesn't:
./python Lib/test/test_socketserver.py
|
|
Date |
User |
Action |
Args |
2007-08-23 14:28:32 | admin | link | issue1086642 messages |
2007-08-23 14:28:32 | admin | create | |
|