diff options
author | Havoc Pennington <hp@redhat.com> | 2004-11-10 20:12:15 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2004-11-10 20:12:15 +0000 |
commit | aa1294405e5440306a9d1ce1f6c4e86f8793e9b8 (patch) | |
tree | addfa3b65f4efffef10f01899ab007abe45dd73c | |
parent | 255342aa67a3650a5400efed877e51e5d9cc79cc (diff) |
add a little comment about WNOHANG/EINTR
-rw-r--r-- | dbus/dbus-spawn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c index b39a75a7..db8192fa 100644 --- a/dbus/dbus-spawn.c +++ b/dbus/dbus-spawn.c @@ -867,6 +867,9 @@ check_babysit_events (pid_t grandchild_pid, do { ret = waitpid (grandchild_pid, &status, WNOHANG); + /* The man page says EINTR can't happen with WNOHANG, + * but there are reports of it (maybe only with valgrind?) + */ } while (ret < 0 && errno == EINTR); |