From 146a4665bb4a2afcd24f444b4a8da055db715d78 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 8 Dec 2009 04:43:15 +0000 Subject: common/ 2009-12-08 Marcus Brinkmann * asshelp.c (start_new_gpg_agent): Convert posix FD to assuan FD. agent/ 2009-12-08 Marcus Brinkmann * call-pinentry.c (start_pinentry): Convert posix fd to assuan fd. * call-scd.c (start_scd): Likewise. sm/ 2009-12-08 Marcus Brinkmann * call-dirmngr.c (start_dirmngr_ext): Convert posix fd to assuan fd. tools/ 2009-12-08 Marcus Brinkmann * gpg-connect-agent.c (main): Convert posix fd to assuan fd. --- g13/call-gpg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'g13') diff --git a/g13/call-gpg.c b/g13/call-gpg.c index 6603533ab..5db284f03 100644 --- a/g13/call-gpg.c +++ b/g13/call-gpg.c @@ -92,12 +92,12 @@ start_gpg (ctrl_t ctrl, int input_fd, int output_fd, assuan_context_t *r_ctx) i = 0; if (log_get_fd () != -1) - no_close_list[i++] = log_get_fd (); - no_close_list[i++] = fileno (stderr); + 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++] = input_fd; + no_close_list[i++] = assuan_fd_from_posix_fd (input_fd); if (output_fd != -1) - no_close_list[i++] = output_fd; + no_close_list[i++] = assuan_fd_from_posix_fd (output_fd); no_close_list[i] = -1; /* Connect to GPG and perform initial handshaking. */ -- cgit v1.2.3