summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2004-11-10 20:12:15 +0000
committerHavoc Pennington <hp@redhat.com>2004-11-10 20:12:15 +0000
commitaa1294405e5440306a9d1ce1f6c4e86f8793e9b8 (patch)
treeaddfa3b65f4efffef10f01899ab007abe45dd73c /dbus
parent255342aa67a3650a5400efed877e51e5d9cc79cc (diff)
add a little comment about WNOHANG/EINTR
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-spawn.c3
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);