[Pkg-gnupg-commit] [gnupg2] 37/180: agent, w32: Initialize nPth in server mode.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Dec 24 22:29:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 81d6e98cdf4caa3aa92398fc3b8bed397b40f58d
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Nov 29 16:53:54 2016 +0100

    agent,w32: Initialize nPth in server mode.
    
    * agent/gpg-agent.c (main) [W32]: Call initialize_modules in server
    mode.
    --
    
    Fixes-commit: 9a707a223a3d45ccf245dee7989ca144e4e6bb49
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 agent/gpg-agent.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 175866d..5060c07 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1532,10 +1532,15 @@ main (int argc, char **argv )
         parent_pid = getpid ();
 
       fflush (NULL);
+
 #ifdef HAVE_W32_SYSTEM
+
       (void)csh_style;
       (void)nodetach;
+      initialize_modules ();
+
 #else /*!HAVE_W32_SYSTEM*/
+
       pid = fork ();
       if (pid == (pid_t)-1)
         {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list