Mercurial > emacs
diff src/process.c @ 55766:d5fe47c900ee
(wait_reading_process_input): Check connect_wait_mask
before actually accepting connection in case it has already been
accepted due to recursion.
| author | Kim F. Storm <storm@cua.dk> |
|---|---|
| date | Tue, 25 May 2004 11:17:43 +0000 |
| parents | 234873044c2a |
| children | b2e8aa96ff9d 85232760f917 |
line wrap: on
line diff
--- a/src/process.c Tue May 25 11:17:03 2004 +0000 +++ b/src/process.c Tue May 25 11:17:43 2004 +0000 @@ -4581,7 +4581,8 @@ } } #ifdef NON_BLOCKING_CONNECT - if (check_connect && FD_ISSET (channel, &Connecting)) + if (check_connect && FD_ISSET (channel, &Connecting) + && FD_ISSET (channel, &connect_wait_mask)) { struct Lisp_Process *p;
