diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-12-11 20:15:53 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-12-11 20:15:53 +0200 |
commit | a81669c69fda1a2d0d4238b8440145fb2aeb959f (patch) | |
tree | ef4f554f4505d9a5171f57878e2f38dea8d01cda /test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-function-alias.el | |
parent | 8c50016b100ec2c548ec90131e0f5fb5f4ebb5c1 (diff) | |
download | emacs-a81669c69fda1a2d0d4238b8440145fb2aeb959f.tar.gz emacs-a81669c69fda1a2d0d4238b8440145fb2aeb959f.tar.bz2 emacs-a81669c69fda1a2d0d4238b8440145fb2aeb959f.zip |
Fix hang when deleting a pipe process
* src/w32.h (FILE_DONT_CLOSE): New flag.
* src/w32.c (sys_close): Don't close descriptors used to read from
the pipe process. Leave the FILE_DONT_CLOSE flag set in the
descriptor's info.
(register_aux_fd): Set the FILE_DONT_CLOSE flag in the
descriptor's info.
* src/w32proc.c (reader_thread): When exiting normally, close the
file descriptor used to read from a pipe process. (Bug#52414)
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-define-obsolete-function-alias.el')
0 files changed, 0 insertions, 0 deletions