Mercurial > hg > xemacs-beta
diff src/process.c @ 108:360340f9fd5f r20-1b6
Import from CVS: tag r20-1b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:18:39 +0200 |
parents | cf808b4c4290 |
children | 8619ce7e4c50 |
line wrap: on
line diff
--- a/src/process.c Mon Aug 13 09:17:27 2007 +0200 +++ b/src/process.c Mon Aug 13 09:18:39 2007 +0200 @@ -1293,6 +1293,9 @@ Error_behavior errb) { struct hostent *host_info_ptr; +#ifdef TRY_AGAIN + int count = 0; +#endif #ifndef HAVE_TERM memset (address, 0, sizeof (*address)); @@ -1300,6 +1303,7 @@ while (1) { #ifdef TRY_AGAIN + if (count++ > 10) break; h_errno = 0; #endif /* Some systems can't handle SIGIO/SIGALARM in gethostbyname. */