aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <[email protected]>2010-11-04 15:54:14 -0400
committerChong Yidong <[email protected]>2010-11-04 15:54:14 -0400
commitbd80a88673b755ccf9d850b907e65fec5308e6b4 (patch)
tree2507a04497fdcf73c5be6d66767a9932de87f63e /src/process.c
parentc2e124a95b5f1dcb7d8e7f2ea1549d30fd54bc17 (diff)
Backport 2010-03-25T08:56:[email protected] from trunk
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/process.c b/src/process.c
index 77490adaa7..e3622c7938 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3654,23 +3654,9 @@ usage: (make-network-process &rest ARGS) */)
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?
-
- This used to be conditioned by HAVE_GETADDRINFO. Why? */
-
- turn_on_atimers (0);
-
ret = connect (s, lres->ai_addr, lres->ai_addrlen);
xerrno = errno;
- turn_on_atimers (1);
-
if (ret == 0 || xerrno == EISCONN)
{
/* The unwind-protect will be discarded afterwards.