changeset 26019:079b0f1b92be

(Fopen_network_stream): Don't loop if gethostbyname fails and h_errno is TRY_AGAIN.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 14 Oct 1999 11:18:39 +0000
parents 8e4c1c04059b
children f700437bf330
files src/process.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Thu Oct 14 11:03:39 1999 +0000
+++ b/src/process.c	Thu Oct 14 11:18:39 1999 +0000
@@ -1944,16 +1944,20 @@
 
   while (1)
     {
+#if 0
 #ifdef TRY_AGAIN
       h_errno = 0;
 #endif
+#endif
       immediate_quit = 1;
       QUIT;
       host_info_ptr = gethostbyname (XSTRING (host)->data);
       immediate_quit = 0;
+#if 0
 #ifdef TRY_AGAIN
       if (! (host_info_ptr == 0 && h_errno == TRY_AGAIN))
 #endif
+#endif
 	break;
       Fsleep_for (make_number (1), Qnil);
     }