diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-06-22 06:34:06 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-06-22 06:34:06 +0200 |
commit | fe535cf26592d6af53d5aea15b3fdc1d79ba0f80 (patch) | |
tree | 2294d958f5403bb0317e3f60c89b74a3902a3012 /common | |
parent | sm: Improve pkcs#12 debug output. (diff) | |
download | gnupg2-fe535cf26592d6af53d5aea15b3fdc1d79ba0f80.tar.xz gnupg2-fe535cf26592d6af53d5aea15b3fdc1d79ba0f80.zip |
agent,gpg,tools: Fix use of log_get_fd.
* agent/call-daemon.c (daemon_start): Don't put file descriptor from
log_get_fd to no_close_list.
* agent/call-pinentry.c (start_pinentry): Likewise.
* common/call-gpg.c (start_gpg): Likewise.
* call-syshelp.c (start_syshelp): Likewise.
* tools/gpg-connect-agent.c (main): Likewise.
--
GnuPG-bug-id: 5921
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/call-gpg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/call-gpg.c b/common/call-gpg.c index c1472e961..a4723ca43 100644 --- a/common/call-gpg.c +++ b/common/call-gpg.c @@ -106,8 +106,6 @@ start_gpg (ctrl_t ctrl, const char *gpg_program, strlist_t gpg_arguments, argv[i++] = NULL; i = 0; - if (log_get_fd () != -1) - no_close_list[i++] = assuan_fd_from_posix_fd (log_get_fd ()); no_close_list[i++] = assuan_fd_from_posix_fd (fileno (stderr)); if (input_fd != -1) no_close_list[i++] = assuan_fd_from_posix_fd (input_fd); |