Mercurial > hg > xemacs-beta
comparison src/process-unix.c @ 855:211050afdc9a
[xemacs-hg @ 2002-05-29 09:42:47 by didierv]
fix shadow declaration
author | didierv |
---|---|
date | Wed, 29 May 2002 09:42:49 +0000 |
parents | 1d8fb2eee1bb |
children | 84762348c6f9 |
comparison
equal
deleted
inserted
replaced
854:1d8fb2eee1bb | 855:211050afdc9a |
---|---|
1832 hints.ai_protocol = 0; | 1832 hints.ai_protocol = 0; |
1833 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); | 1833 LISP_STRING_TO_EXTERNAL (host, ext_host, Qnative); |
1834 retval = getaddrinfo (ext_host, NULL, &hints, &res); | 1834 retval = getaddrinfo (ext_host, NULL, &hints, &res); |
1835 if (retval != 0) | 1835 if (retval != 0) |
1836 { | 1836 { |
1837 CIntbyte *gai_error; | 1837 CIntbyte *gai_err; |
1838 | 1838 |
1839 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, | 1839 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_err, |
1840 Qstrerror_encoding); | 1840 Qstrerror_encoding); |
1841 maybe_signal_error (Qio_error, gai_error, host, | 1841 maybe_signal_error (Qio_error, gai_err, host, |
1842 Qprocess, ERROR_ME_DEBUG_WARN); | 1842 Qprocess, ERROR_ME_DEBUG_WARN); |
1843 canonname = host; | 1843 canonname = host; |
1844 } | 1844 } |
1845 else | 1845 else |
1846 { | 1846 { |
1928 hints.ai_protocol = 0; | 1928 hints.ai_protocol = 0; |
1929 LISP_STRING_TO_EXTERNAL (host, ext_host, Qunix_host_name_encoding); | 1929 LISP_STRING_TO_EXTERNAL (host, ext_host, Qunix_host_name_encoding); |
1930 retval = getaddrinfo (ext_host, portstring, &hints, &res); | 1930 retval = getaddrinfo (ext_host, portstring, &hints, &res); |
1931 if (retval != 0) | 1931 if (retval != 0) |
1932 { | 1932 { |
1933 CIntbyte *gai_error; | 1933 CIntbyte *gai_err; |
1934 | 1934 |
1935 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, | 1935 EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_err, |
1936 Qstrerror_encoding); | 1936 Qstrerror_encoding); |
1937 signal_error (Qio_error, gai_error, list2 (host, service)); | 1937 signal_error (Qio_error, gai_err, list2 (host, service)); |
1938 } | 1938 } |
1939 | 1939 |
1940 /* address loop */ | 1940 /* address loop */ |
1941 for (lres = res; lres ; lres = lres->ai_next) | 1941 for (lres = res; lres ; lres = lres->ai_next) |
1942 | 1942 |