summaryrefslogtreecommitdiff
path: root/glib/gtestutils.c
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>2023-02-19 14:47:00 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2023-02-21 12:42:55 +0000
commit0f5d2748719627fafbdcfd67a776002cd6ffae81 (patch)
tree5ebd7b19be59659f1fe2152f01e73ff9b616f7ef /glib/gtestutils.c
parentdd36ee0abfef10aec44cb00972c4de6f95b14e24 (diff)
downloadglib-0f5d2748719627fafbdcfd67a776002cd6ffae81.tar.gz
gtestutils: Document that g_test_trap_fork () won't get close-on-exec fix
We don't want to update this function in case some crusty old third party code might be relying on its current behavior. Also, it is deprecated anyway and no code should be using it.
Diffstat (limited to 'glib/gtestutils.c')
-rw-r--r--glib/gtestutils.c5
1 files changed, 3 insertions, 2 deletions
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