diff options
| author | NIIBE Yutaka <[email protected]> | 2025-11-20 05:52:19 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-11-20 05:52:19 +0000 |
| commit | 57affc4e98ab80d89f636a50bb165f90d233083c (patch) | |
| tree | 4394620582da28625b16c9d3ab565d00518b12a6 /agent | |
| parent | agent,common,dirmngr,tests: Silence warnings of a compiler. (diff) | |
| download | gnupg-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 'agent')
| -rw-r--r-- | agent/gpg-agent.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 9227eec10..cbb624a02 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); |
