Mercurial > hg > xemacs-beta
comparison src/process-unix.c @ 576:6db80f4ab17c
[xemacs-hg @ 2001-05-25 05:42:25 by martinb]
Cleaning up after error-frobbing patch: More compiler warnings/errors
author | martinb |
---|---|
date | Fri, 25 May 2001 05:42:26 +0000 |
parents | 183866b06e0b |
children | 190b164ddcac |
comparison
equal
deleted
inserted
replaced
575:d5e8f5ad5043 | 576:6db80f4ab17c |
---|---|
1589 hints.ai_protocol = 0; | 1589 hints.ai_protocol = 0; |
1590 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); | 1590 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); |
1591 retval = getaddrinfo (ext_host, NULL, &hints, &res); | 1591 retval = getaddrinfo (ext_host, NULL, &hints, &res); |
1592 if (retval != 0) | 1592 if (retval != 0) |
1593 { | 1593 { |
1594 Bufbyte *gai_error; | 1594 char *gai_error; |
1595 | 1595 |
1596 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, Qnative); | 1596 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, Qnative); |
1597 maybe_signal_error (Qio_error, gai_error, host, | 1597 maybe_signal_error (Qio_error, gai_error, host, |
1598 Qprocess, ERROR_ME_NOT); | 1598 Qprocess, ERROR_ME_NOT); |
1599 canonname = host; | 1599 canonname = host; |
1600 } | 1600 } |
1601 else | 1601 else |
1602 { | 1602 { |
1603 int gni = getnameinfo (res->ai_addr, res->ai_addrlen, | 1603 int gni = getnameinfo (res->ai_addr, res->ai_addrlen, |
1683 hints.ai_protocol = 0; | 1683 hints.ai_protocol = 0; |
1684 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); | 1684 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); |
1685 retval = getaddrinfo (ext_host, portstring, &hints, &res); | 1685 retval = getaddrinfo (ext_host, portstring, &hints, &res); |
1686 if (retval != 0) | 1686 if (retval != 0) |
1687 { | 1687 { |
1688 Bufbyte *gai_error; | 1688 char *gai_error; |
1689 | 1689 |
1690 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, Qnative); | 1690 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, Qnative); |
1691 signal_error (Qio_error, gai_error, list2 (host, service)); | 1691 signal_error (Qio_error, gai_error, list2 (host, service)); |
1692 } | 1692 } |
1693 | 1693 |