Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > ab4c91c244ba971cbf0aeaebecc86d45 > files > 1

dbus-1.6.8-4.mga3.src.rpm

diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c
index ef00801..87ba961 100644
--- a/dbus/dbus-spawn.c
+++ b/dbus/dbus-spawn.c
@@ -1257,6 +1257,10 @@ _dbus_spawn_async_with_babysitter (DBusBabysitter          **sitter_p,
 	}
       else if (grandchild_pid == 0)
 	{
+	  /* Go back to ignoring SIGPIPE, since it's evil
+	   */
+	  signal (SIGPIPE, SIG_IGN);
+
 	  do_exec (child_err_report_pipe[WRITE_END],
 		   argv,
 		   env,