mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 20:22:11 +01:00
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.
This commit is contained in:
parent
dd36ee0abf
commit
0f5d274871
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user