• Oliver Giles's avatar
    Ignore ECHILD in UnixEventPort::ChildSet::checkExits · 4c2796b0
    Oliver Giles authored
    If no child process has changed state, waitpid() returns zero. But if there
    are no more child processes at all, it returns -1 and sets errno to ECHILD.
    Since checkExits calls waitpid() in a loop, it must ignore ECHILD.
    
    +Unit test modified to exhibit the unexpected behaviour.
    4c2796b0
Name
Last commit
Last update
..
cmake Loading commit data...
ekam-provider Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
samples Loading commit data...
src Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE.txt Loading commit data...
Makefile.am Loading commit data...
Makefile.ekam Loading commit data...
README.txt Loading commit data...
afl-fuzz.sh Loading commit data...
configure.ac Loading commit data...
regenerate-bootstraps.sh Loading commit data...
setup-autotools.sh Loading commit data...
setup-ekam.sh Loading commit data...