diff options
| author | Eli Zaretskii | 2014-09-14 18:18:39 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-09-14 18:18:39 +0300 |
| commit | 9ed670023f6d7534f0e812417fe13ab3cfadaa7a (patch) | |
| tree | 06b0c29a6085e82fdb3ddd02c15bd236c6d10006 /src/ChangeLog | |
| parent | a6cc335aef90cb4a2dc3fde77cbea9886240301e (diff) | |
| download | emacs-9ed670023f6d7534f0e812417fe13ab3cfadaa7a.tar.gz emacs-9ed670023f6d7534f0e812417fe13ab3cfadaa7a.zip | |
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/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4f851edb0fd..c32b4c44988 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2014-09-14 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of | ||
| 4 | pipes. | ||
| 5 | (sys_write): When a write to a non-blocking pipe returns ENOSPC, | ||
| 6 | set errno to EAGAIN instead, to allow the caller to retry the | ||
| 7 | write after some waiting. Fixes deadlocks when Emacs exchanges a | ||
| 8 | lot of data through the pipe. (Bug#18420) | ||
| 9 | |||
| 1 | 2014-09-13 Eli Zaretskii <eliz@gnu.org> | 10 | 2014-09-13 Eli Zaretskii <eliz@gnu.org> |
| 2 | 11 | ||
| 3 | * sound.c (Fplay_sound_internal): Encode the sound file name in | 12 | * sound.c (Fplay_sound_internal): Encode the sound file name in |