aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSpencer Baugh2025-09-30 14:47:51 -0400
committerEli Zaretskii2025-10-11 12:22:17 +0300
commitc172b6dded4f92f47f035b724605ecbb0e19970c (patch)
tree2f7761b8cc6d2066b643e71e8496f7aa3a5cdee4 /java
parent443af6fe1d0161142af0bc4578efd0653c3f1be9 (diff)
downloademacs-c172b6dded4f92f47f035b724605ecbb0e19970c.tar.gz
emacs-c172b6dded4f92f47f035b724605ecbb0e19970c.zip
Stop monitoring fds after receiving EOF
When a subprocess closes its stdout/stderr pipe, that causes pselect to always indicate that fd is readable, and read to always return with EOF on that fd. Therefore when we receive an EOF we need to stop monitoring the fd. Otherwise Emacs will spin at 100% CPU, repeatedly reading that same EOF off the fd. * src/process.c (wait_reading_process_output): When 'read_process_output' returns EOF indication, stop monitoring the descriptor. (Bug#79436)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions