- Bugreport by the courtesy of Pavouk.
/* waitpid(2) errors are ignored as we should be immune against failures as the parent. */
waitpid(captive_vfs_parent_object->corba_child_pid,
NULL, /* status */
- WNOHANG); /* options */
+ /* options: !WNOHANG as the child will not be ready yet for waitpid()
+ * right after its SIGKILL. As we did SIGKILL I hope it has no chance
+ * to block us.
+ */
+ 0); /* options */
}
if (r==GNOME_VFS_OK) {