From 15b8bc7495dbaba2e4855cd3a0b1dcbd4ea03ae2 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 17 Jul 2025 11:01:25 +0900 Subject: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd. * common/asshelp.h [HAVE_W32_SYSTEM] (w32_ack_to_frontend): New. * common/asshelp.c [HAVE_W32_SYSTEM] (start_new_service): Use GPGRT_PROCESS_STDOUT_PIPE flag, and read from the pipe to wait. (w32_ack_to_frontend): New. * agent/gpg-agent.c [HAVE_W32_SYSTEM] (main): Add w32_ack_to_frontend. * dirmngr/dirmngr.c [HAVE_W32_SYSTEM] (main): Likewise. * kbx/keyboxd.c [HAVE_W32_SYSTEM] (main): Likewise. -- GnuPG-bug-id: 7720 Signed-off-by: NIIBE Yutaka --- common/asshelp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/asshelp.h') diff --git a/common/asshelp.h b/common/asshelp.h index cde6e226f..936a3964e 100644 --- a/common/asshelp.h +++ b/common/asshelp.h @@ -106,6 +106,11 @@ gpg_error_t warn_server_version_mismatch (assuan_context_t ctx, void *status_func_ctrl, int print_hints); +#ifdef HAVE_W32_SYSTEM +/* Say hello to the frontend. */ +void w32_ack_to_frontend (void); +#endif + /*-- asshelp2.c --*/ -- cgit v1.2.3