aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keyboxd.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-11-20 05:52:19 +0000
committerNIIBE Yutaka <[email protected]>2025-11-20 05:52:19 +0000
commit57affc4e98ab80d89f636a50bb165f90d233083c (patch)
tree4394620582da28625b16c9d3ab565d00518b12a6 /kbx/keyboxd.c
parentagent,common,dirmngr,tests: Silence warnings of a compiler. (diff)
downloadgnupg-57affc4e98ab80d89f636a50bb165f90d233083c.tar.gz
gnupg-57affc4e98ab80d89f636a50bb165f90d233083c.zip
common,agent,dirmngr,kbx:w32: Synchronous spawning daemon process.
* common/asshelp.c [HAVE_W32_SYSTEM] (start_new_service): Catch the error output when starting daemon and wait until it's ready. (w32_ack_to_frontend): New. * common/asshelp.h (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): Ditto. * kbx/keyboxd.c [HAVE_W32_SYSTEM] (main): Ditto. -- GnuPG-bug-id: 7716 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'kbx/keyboxd.c')
-rw-r--r--kbx/keyboxd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kbx/keyboxd.c b/kbx/keyboxd.c
index 197f01c74..4eff1cc45 100644
--- a/kbx/keyboxd.c
+++ b/kbx/keyboxd.c
@@ -734,6 +734,7 @@ main (int argc, char **argv )
(void)nodetach;
initialize_modules ();
+ w32_ack_to_frontend ();
#else /*!HAVE_W32_SYSTEM*/