GCancellable: Use g_unix_pipe_flags with FD_CLOEXEC
authorColin Walters <walters@verbum.org>
Mon, 2 May 2011 19:42:51 +0000 (15:42 -0400)
committerColin Walters <walters@verbum.org>
Tue, 3 May 2011 14:14:48 +0000 (10:14 -0400)
commitc078223b388939f3f7cb77bdaa8b60aad0713756
treef2891843a5af116d35a1a58e4e8bed7fc7d2d042
parented37970a0405b5681bcd6449d4dc1b4f9080c4fa
GCancellable: Use g_unix_pipe_flags with FD_CLOEXEC

The old code was creating a pipe and setting FD_CLOEXEC
non-atomically.

https://bugzilla.gnome.org/show_bug.cgi?id=649225
gio/gcancellable.c