diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2020-10-13 13:40:37 +0100 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2021-02-16 13:44:00 +0000 |
commit | 67a589e505311de4dc244f69673c129d15c9880f (patch) | |
tree | 2488e2eef21ca411cefac8d28309740c1e85f429 /gio/gdbusauthmechanismanon.c | |
parent | b31f3f5f806b2185ca15328e30f5d255de23be67 (diff) |
gsubprocess: Use new source/target FD mapping functionality in g_spawn()
This improves performance by eliminating the use of a
`GSpawnChildSetupFunc` in the common case (since that setup code has now
moved into `g_spawn*()` itself), and enables the use of the fix to avoid
the child error reporting FD being overwritten by target FD mappings,
introduced via `g_spawn_async_with_pipes_and_fds()`.
It reworks how the source/target FD mapping is stored within
`GSubprocessLauncher` to match what `g_spawn*()` uses. The two
approaches are equivalent.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Fixes: #2097
Diffstat (limited to 'gio/gdbusauthmechanismanon.c')
0 files changed, 0 insertions, 0 deletions