# HG changeset patch # User Ken Raeburn # Date 961826813 0 # Node ID 8a4552214d840419ae8fccd78bf8c18c58f587a0 # Parent 106dbd5fec269e00d2aa8990df5832a07f0389de * process.c (Fopen_network_stream): Turn off atimers for duration of call to connect. (Patch from Gerd.) diff -r 106dbd5fec26 -r 8a4552214d84 src/ChangeLog Binary file src/ChangeLog has changed diff -r 106dbd5fec26 -r 8a4552214d84 src/process.c --- a/src/process.c Fri Jun 23 19:37:14 2000 +0000 +++ b/src/process.c Sat Jun 24 06:06:53 2000 +0000 @@ -1862,7 +1862,16 @@ immediate_quit = 1; QUIT; + /* This turns off all alarm-based interrupts; the + bind_polling_period call above doesn't always turn all the + short-interval ones off, especially if interrupt_input is + set. + + It'd be nice to be able to control the connect timeout + though. Would non-blocking connect calls be portable? */ + turn_on_atimers (0); ret = connect (s, lres->ai_addr, lres->ai_addrlen); + turn_on_atimers (1); if (ret == 0) break; emacs_close (s);