Shell: Wait for *any* child to change state when receiving a SIGCHLD

This really just works around the core issue, which is that we have no
reliable way to know exactly who raised the signal (yet).
Fixes #3645, in a very weird (yet apparently standard) way.
This commit is contained in:
AnotherTest 2020-09-30 14:05:12 +03:30 committed by Andreas Kling
commit 519d1811fd
Notes: sideshowbarker 2024-07-19 02:06:45 +09:00
4 changed files with 68 additions and 38 deletions

View file

@ -34,7 +34,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/wait.h>
RefPtr<Line::Editor> editor;
Shell* s_shell;