diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 6972ba0c255..26f3f5e429a 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1862,7 +1862,16 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\ | |||
| 1862 | immediate_quit = 1; | 1862 | immediate_quit = 1; |
| 1863 | QUIT; | 1863 | QUIT; |
| 1864 | 1864 | ||
| 1865 | /* This turns off all alarm-based interrupts; the | ||
| 1866 | bind_polling_period call above doesn't always turn all the | ||
| 1867 | short-interval ones off, especially if interrupt_input is | ||
| 1868 | set. | ||
| 1869 | |||
| 1870 | It'd be nice to be able to control the connect timeout | ||
| 1871 | though. Would non-blocking connect calls be portable? */ | ||
| 1872 | turn_on_atimers (0); | ||
| 1865 | ret = connect (s, lres->ai_addr, lres->ai_addrlen); | 1873 | ret = connect (s, lres->ai_addr, lres->ai_addrlen); |
| 1874 | turn_on_atimers (1); | ||
| 1866 | if (ret == 0) | 1875 | if (ret == 0) |
| 1867 | break; | 1876 | break; |
| 1868 | emacs_close (s); | 1877 | emacs_close (s); |