Merge branch 'wip/lantw/fix-gtestdbus-crash-on-freebsd'

Manually rebased.

https://gitlab.gnome.org/GNOME/glib/merge_requests/251
This commit is contained in:
Philip Withnall 2018-08-20 11:13:23 +01:00
commit 769326e1f1

View File

@ -179,7 +179,7 @@ watch_parent (gint fd)
if (num_events == 0)
continue;
if (fds[0].revents == G_IO_HUP)
if (fds[0].revents & G_IO_HUP)
{
/* Parent quit, cleanup the mess and exit */
for (n = 0; n < pids_to_kill->len; n++)