Mercurial > hg > xemacs-beta
changeset 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 | b27b70c1252a |
files | src/ChangeLog src/process-unix.c |
diffstat | 2 files changed, 14 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue May 28 16:07:03 2002 +0000 +++ b/src/ChangeLog Wed May 29 09:42:49 2002 +0000 @@ -1,3 +1,9 @@ +2002-05-29 Didier Verna <didier@xemacs.org> + + * process-unix.c (unix_canonicalize_host_name): change gai_error + to gai_err to avoid shadow declaration. + * process-unix.c (unix_open_network_stream): ditto. + 2002-05-28 Didier Verna <didier@xemacs.org> * emacs.c: comment the inclusion order of syssignal.h and sysproc.h. @@ -8329,7 +8335,7 @@ Fix compile warnings. * menubar.c (vars_of_menubar): - Provide `menu-accelerator-support' to indicate that we properly + Provide `menu-accelerator-support' to indicate that we Properly support %_ in menu specifications, so that package code can conditionalize on this (and remove %_ from menu specifications on older versions). @@ -12376,7 +12382,7 @@ * mule-canna.c (CANNA_mode_keys): make static. Use proper prototypes, even for functions of no arguments. - Remove external prototype for Fding(). + RemOve external prototype for Fding(). * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
--- a/src/process-unix.c Tue May 28 16:07:03 2002 +0000 +++ b/src/process-unix.c Wed May 29 09:42:49 2002 +0000 @@ -1834,11 +1834,11 @@ retval = getaddrinfo (ext_host, NULL, &hints, &res); if (retval != 0) { - CIntbyte *gai_error; + CIntbyte *gai_err; - EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, + EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_err, Qstrerror_encoding); - maybe_signal_error (Qio_error, gai_error, host, + maybe_signal_error (Qio_error, gai_err, host, Qprocess, ERROR_ME_DEBUG_WARN); canonname = host; } @@ -1930,11 +1930,11 @@ retval = getaddrinfo (ext_host, portstring, &hints, &res); if (retval != 0) { - CIntbyte *gai_error; + CIntbyte *gai_err; - EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_error, + EXTERNAL_TO_C_STRING (gai_strerror (retval), gai_err, Qstrerror_encoding); - signal_error (Qio_error, gai_error, list2 (host, service)); + signal_error (Qio_error, gai_err, list2 (host, service)); } /* address loop */