mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-24 17:00:09 +01:00
2004-11-10 Colin Walters <walters@verbum.org>
* dbus/dbus-spawn.c (check_babysit_events): Handle EINTR, for extra paranoia.
This commit is contained in:
parent
935a41a04c
commit
255342aa67
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-11-10 Colin Walters <walters@verbum.org>
|
||||
|
||||
* dbus/dbus-spawn.c (check_babysit_events): Handle EINTR,
|
||||
for extra paranoia.
|
||||
|
||||
2004-11-09 Colin Walters <walters@verbum.org>
|
||||
|
||||
* dbus/dbus-string.c (_dbus_string_get_length): New
|
||||
|
|
|
|||
|
|
@ -864,7 +864,11 @@ check_babysit_events (pid_t grandchild_pid,
|
|||
pid_t ret;
|
||||
int status;
|
||||
|
||||
ret = waitpid (grandchild_pid, &status, WNOHANG);
|
||||
do
|
||||
{
|
||||
ret = waitpid (grandchild_pid, &status, WNOHANG);
|
||||
}
|
||||
while (ret < 0 && errno == EINTR);
|
||||
|
||||
if (ret == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue