dbus/dbus dbus-spawn.c,1.19,1.20
Havoc Pennington
hp at freedesktop.org
Wed Nov 10 12:12:17 PST 2004
Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv17732/dbus
Modified Files:
dbus-spawn.c
Log Message:
add a little comment about WNOHANG/EINTR
Index: dbus-spawn.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-spawn.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- dbus-spawn.c 10 Nov 2004 06:53:10 -0000 1.19
+++ dbus-spawn.c 10 Nov 2004 20:12:15 -0000 1.20
@@ -867,6 +867,9 @@
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);
More information about the dbus-commit
mailing list