# HG changeset patch # User Gerd Moellmann # Date 939899919 0 # Node ID 079b0f1b92be754440183ac2090129e777ecf4d3 # Parent 8e4c1c04059b3aede41f6fee3157413b879757a2 (Fopen_network_stream): Don't loop if gethostbyname fails and h_errno is TRY_AGAIN. diff -r 8e4c1c04059b -r 079b0f1b92be src/process.c --- 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); }