emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99751: Don't call turn_on_atimers ar


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99751: Don't call turn_on_atimers around `connect' (Bug#5723).
Date: Thu, 25 Mar 2010 17:56:15 +0900
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99751
committer: YAMAMOTO Mitsuharu <address@hidden>
branch nick: trunk
timestamp: Thu 2010-03-25 17:56:15 +0900
message:
  Don't call turn_on_atimers around `connect' (Bug#5723).
modified:
  src/ChangeLog
  src/process.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-03-25 08:48:52 +0000
+++ b/src/ChangeLog     2010-03-25 08:56:15 +0000
@@ -1,3 +1,8 @@
+2010-03-25  YAMAMOTO Mitsuharu  <address@hidden>
+
+       * process.c (Fmake_network_process): Don't call turn_on_atimers around
+       `connect' (Bug#5723).
+
 2010-03-25  Helmut Eller  <address@hidden>
 
        * process.c (Fmake_network_process): Call `select' for interrupted

=== modified file 'src/process.c'
--- a/src/process.c     2010-03-25 08:48:52 +0000
+++ b/src/process.c     2010-03-25 08:56:15 +0000
@@ -3615,23 +3615,9 @@
       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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]