-
Simon McVittie authored
The warnings issued when dealing with waitpid() raising ECHILD are somewhat misleading: there are lots of reasons why waitpid() might fail in this way, and we can't tell which one has happened. In particular, passing a non-child or a non-pid, waiting for the same pid elsewhere, or creating a duplicate watch for the same pid would all fail in the same way. Consolidate the restrictions into one place, and change all the other places they were (or should have been!) mentioned to point to that one place. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugzilla.gnome.org/show_bug.cgi?id=723743
6e480634