From 16c1ad08dc0899e6d88971cb08ddc5d6c8fbccef Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Mon, 21 Nov 2011 21:39:44 +0100 Subject: [PATCH] (wait_reading_process_output): Add comment and URL. --- src/ChangeLog | 1 + src/process.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 45e8eb1025d..a0f83560603 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * process.c (wait_reading_process_output): Fix asynchrounous GnuTLS socket handling on some versions of the GnuTLS library. + (wait_reading_process_output): Add comment and URL. 2011-11-21 Jan Djärv diff --git a/src/process.c b/src/process.c index 02eb1122a07..a02ba44ae71 100644 --- a/src/process.c +++ b/src/process.c @@ -4625,7 +4625,11 @@ wait_reading_process_output (int time_limit, int microsecs, int read_kbd, if (! wait_proc) { /* We're not waiting on a specific process, so loop - through all the channels and check for data. */ + through all the channels and check for data. + This is a workaround needed for some versions of + the gnutls library -- 2.12.14 has been confirmed + to need it. See + http://comments.gmane.org/gmane.emacs.devel/145074 */ struct Lisp_Process *proc; for (channel = 0; channel < MAXDESC; ++channel) { -- 2.39.5