[Pkg-gnupg-commit] [gnupg2] 84/292: agent: Fix npth + supervised mode problem.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:28 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 f57dc2b1e6f28d164f882373535dbcb0d632ca17
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Oct 5 09:13:27 2016 +0200

    agent: Fix npth + supervised mode problem.
    
    * agent/gpg-agent.c (main): Initialize modules in supervised mode.
    --
    
    It was probably my fault.  I had to rebase my patches to take in the
    npth patches but for some reason my addition of initialize_modules got
    lost.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 agent/gpg-agent.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 9c7b8fc..dcc9bb6 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1456,6 +1456,8 @@ main (int argc, char **argv )
 #ifndef HAVE_W32_SYSTEM
       gnupg_fd_t fd, fd_extra, fd_browser, fd_ssh;
 
+      initialize_modules ();
+
       /* when supervised and sending logs to stderr, the process
          supervisor should handle log entry metadata (pid, name,
          timestamp) */

-- 
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