aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-07-17 02:01:25 +0000
committerNIIBE Yutaka <[email protected]>2025-07-17 02:01:25 +0000
commit15b8bc7495dbaba2e4855cd3a0b1dcbd4ea03ae2 (patch)
treebf5dbdd7991a381e147123f277bb242f92667141 /agent/gpg-agent.c
parentbuild: Require libgpg-error 1.56 or newer. (diff)
downloadgnupg-gniibe/synch-spawn.tar.gz
gnupg-gniibe/synch-spawn.zip
w32: Synchronous spawning gpg-agent/dirmngr/keyboxd.gniibe/synch-spawn
* 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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--agent/gpg-agent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index ae1295977..9d214e703 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1855,6 +1855,9 @@ main (int argc, char **argv)
}
log_info ("%s %s started\n", gpgrt_strusage(11), gpgrt_strusage(13) );
+#ifdef HAVE_W32_SYSTEM
+ w32_ack_to_frontend ();
+#endif
handle_connections (fd, fd_extra, fd_browser, fd_ssh,
reliable_homedir_inotify);
assuan_sock_close (fd);