diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2014-09-14 18:18:39 +0300 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2014-09-14 18:18:39 +0300 |
| commit | 9ed670023f6d7534f0e812417fe13ab3cfadaa7a (patch) | |
| tree | 06b0c29a6085e82fdb3ddd02c15bd236c6d10006 /src/lisp.h | |
| parent | a6cc335aef90cb4a2dc3fde77cbea9886240301e (diff) | |
| download | emacs-9ed670023f6d7534f0e812417fe13ab3cfadaa7a.tar.gz | |
Fix bug #18420 with deadlocks communicating with subprocess on MS-Windows.
src/w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of
pipes.
(sys_write): When a write to a non-blocking pipe returns ENOSPC,
set errno to EAGAIN instead, to allow the caller to retry the
write after some waiting. Fixes deadlocks when Emacs exchanges a
lot of data through the pipe.
Diffstat (limited to 'src/lisp.h')
0 files changed, 0 insertions, 0 deletions
