emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] 09/17: [gnugo] Wait at most 30sec for subproc output chunk.


From: Thien-Thi Nguyen
Subject: [elpa] 09/17: [gnugo] Wait at most 30sec for subproc output chunk.
Date: Mon, 03 Feb 2014 09:35:08 +0000

ttn pushed a commit to branch ttn-gnugo
in repository elpa.

commit 67008b292b1d54c597d11460ef89488fbd5bcc63
Author: Thien-Thi Nguyen <address@hidden>
Date:   Thu Jan 30 17:09:09 2014 +0100

    [gnugo] Wait at most 30sec for subproc output chunk.
    
    * packages/gnugo/gnugo.el (gnugo-synchronous-send/return):
    Specify TIMEOUT of 30 seconds to ‘accept-process-output’.
---
 packages/gnugo/ChangeLog |    7 +++++++
 packages/gnugo/gnugo.el  |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/packages/gnugo/ChangeLog b/packages/gnugo/ChangeLog
index 0c06fcd..09a339d 100644
--- a/packages/gnugo/ChangeLog
+++ b/packages/gnugo/ChangeLog
@@ -1,5 +1,12 @@
 2014-01-30  Thien-Thi Nguyen  <address@hidden>
 
+       [gnugo] Wait at most 30sec for subproc output chunk.
+
+       * gnugo.el (gnugo-synchronous-send/return):
+       Specify TIMEOUT of 30 seconds to ‘accept-process-output’.
+
+2014-01-30  Thien-Thi Nguyen  <address@hidden>
+
        [gnugo int] Use ‘zerop’.
 
        * gnugo.el (gnugo-cleanup)
diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index cb92f46..3a38a80 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -381,7 +381,7 @@ STRING omits the two trailing newlines.  See also 
`gnugo-query'."
     (let (rv)
       ;; type change => break
       (while (stringp (setq rv (gnugo-get :sync-return)))
-        (accept-process-output proc))
+        (accept-process-output proc 30))
       (gnugo-put :sync-return "")
       rv)))
 



reply via email to

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