comparison src/process-unix.c @ 724:76d5a3dd827a

[xemacs-hg @ 2002-01-05 07:33:11 by stephent] Pre-21.5.4 commit of stuff on notebook -- updated CHANGES-beta -- fix some slow startups - default with_ipv6_cname=no -- Stephen Turnbull -- Cygwin nox-xpm detection -- Charles Wilson -- eliminate bogus check for Athena widgets -- Alexey Mahotkin
author stephent
date Sat, 05 Jan 2002 07:33:24 +0000
parents 53ec80338ec1
children 943eaba38521
comparison
equal deleted inserted replaced
723:a65ddffa00a5 724:76d5a3dd827a
1582 int retval; 1582 int retval;
1583 char *ext_host; 1583 char *ext_host;
1584 1584
1585 xzero (hints); 1585 xzero (hints);
1586 hints.ai_flags = AI_CANONNAME; 1586 hints.ai_flags = AI_CANONNAME;
1587 #ifdef IPV6_CANONICALIZE
1587 hints.ai_family = AF_UNSPEC; 1588 hints.ai_family = AF_UNSPEC;
1589 #else
1590 hints.ai_family = PF_INET;
1591 #endif
1588 hints.ai_socktype = SOCK_STREAM; 1592 hints.ai_socktype = SOCK_STREAM;
1589 hints.ai_protocol = 0; 1593 hints.ai_protocol = 0;
1590 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); 1594 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative);
1591 retval = getaddrinfo (ext_host, NULL, &hints, &res); 1595 retval = getaddrinfo (ext_host, NULL, &hints, &res);
1592 if (retval != 0) 1596 if (retval != 0)