diff options
author | max <max@tclers.tk> | 2011-06-22 14:32:08 (GMT) |
---|---|---|
committer | max <max@tclers.tk> | 2011-06-22 14:32:08 (GMT) |
commit | 52975dac483619f642d76da30625db396e4ba62a (patch) | |
tree | 274b62d75b972d905d3edaa69f409ea3fbf14d04 /generic | |
parent | 344567552f325458ea53df5c48079cac131d5aa2 (diff) | |
parent | d63052263676891c816f2dbc51362eaa0e3dc048 (diff) | |
download | tcl-52975dac483619f642d76da30625db396e4ba62a.zip tcl-52975dac483619f642d76da30625db396e4ba62a.tar.gz tcl-52975dac483619f642d76da30625db396e4ba62a.tar.bz2 |
Merge fixes for [socket -async] and other improvements to the unix socket code
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclIOSock.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/generic/tclIOSock.c b/generic/tclIOSock.c index ab2b094..aabd67d 100644 --- a/generic/tclIOSock.c +++ b/generic/tclIOSock.c @@ -178,8 +178,11 @@ TclCreateSocketAddress( } hints.ai_socktype = SOCK_STREAM; -#if defined(AI_ADDRCONFIG) && !defined(_AIX) - /* Missing on: OpenBSD, NetBSD. Causes failure when used on AIX 5.1 */ +#if defined(AI_ADDRCONFIG) && !defined(_AIX) && !defined(__hpux) + /* + * Missing on: OpenBSD, NetBSD. + * Causes failure when used on AIX 5.1 and HP-UX + */ hints.ai_flags |= AI_ADDRCONFIG; #endif if (willBind) { |