diff options
author | Federico Mena Quintero <federico@gnome.org> | 2021-12-10 19:44:28 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2021-12-13 16:41:02 -0600 |
commit | 2baac0d54c4bec2c89de190b5df425826461ca86 (patch) | |
tree | 5417ba636c0518563bc0a1c0923e61773c53d53b /bus | |
parent | d010e13360714670ba78729180207c33069f625d (diff) | |
download | at-spi2-core-2baac0d54c4bec2c89de190b5df425826461ca86.tar.gz |
Don't close the read end of the pipe in the child setup func
g_spawn_async_with_pipes_and_fds() will take care of that.
Diffstat (limited to 'bus')
-rw-r--r-- | bus/at-spi-bus-launcher.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c index 8df85c22..23a258d5 100644 --- a/bus/at-spi-bus-launcher.c +++ b/bus/at-spi-bus-launcher.c @@ -327,11 +327,6 @@ static void setup_bus_child_daemon (gpointer data) { A11yBusLauncher *app = data; - (void) app; - - close (app->pipefd[0]); - dup2 (app->pipefd[1], 3); - close (app->pipefd[1]); set_bus_to_exit_if_this_process_dies (); } |