diff --git a/glib/gtestutils.c b/glib/gtestutils.c index 1a63bfe42..fcf1caff3 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -3858,8 +3858,9 @@ wait_for_child (GPid pid, * Since: 2.16 * * Deprecated: This function is implemented only on Unix platforms, - * and is not always reliable due to problems inherent in - * fork-without-exec. Use g_test_trap_subprocess() instead. + * is not always reliable due to problems inherent in fork-without-exec + * and doesn't set close-on-exec flag on its file descriptors. + * Use g_test_trap_subprocess() instead. */ G_GNUC_BEGIN_IGNORE_DEPRECATIONS gboolean