diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | dbus/dbus-spawn.c | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -2,6 +2,13 @@ * patch by Peter O'Gorman <pogma at thewrittenword dot com> + * dbus/dbus-spawn.c (babysit_signal_handler): check write return value + so we don't hang (FDO Bug #11665) + +2008-01-15 John (J5) Palmieri <johnp@redhat.com> + + * patch by Peter O'Gorman <pogma at thewrittenword dot com> + * dbus/dbus-sysdeps.h: support for AIX poll implementation (FDO Bug #11666) diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c index ba6e6ddf..d74b3265 100644 --- a/dbus/dbus-spawn.c +++ b/dbus/dbus-spawn.c @@ -982,9 +982,9 @@ babysit_signal_handler (int signo) { char b = '\0'; again: - write (babysit_sigchld_pipe, &b, 1); - if (errno == EINTR) - goto again; + if (write (babysit_sigchld_pipe, &b, 1) <= 0) + if (errno == EINTR) + goto again; } static void |