[Pkg-gnupg-commit] [gpgme] 92/103: core, w32: Fix popping up of console windows due to gpgconf.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Dec 14 18:53:07 UTC 2017


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

dkg pushed a commit to branch master
in repository gpgme.

commit 0a567a94d94cd93c5d88f5db802925c95f0974d0
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Dec 11 13:54:22 2017 +0100

    core,w32: Fix popping up of console windows due to gpgconf.
    
    * src/gpgme-w32spawn.c (my_spawn): Create w/o DETACHED_PROCESS.
    --
    
    The spawn helper is actually called with DETACHED_PROCESS and should
    not need to do a DETACHED_PROCESS of its own.  Interestingly this
    patch removes the popups.
    
    See Andre's report
    GnuPG-bug-id: 3515
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 src/gpgme-w32spawn.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gpgme-w32spawn.c b/src/gpgme-w32spawn.c
index 003b9b0..d86c850 100644
--- a/src/gpgme-w32spawn.c
+++ b/src/gpgme-w32spawn.c
@@ -205,7 +205,6 @@ my_spawn (char **argv, struct spawn_fd_item_s *fd_list, unsigned int flags)
     }
 
   cr_flags |= CREATE_SUSPENDED;
-  cr_flags |= DETACHED_PROCESS;
   if (!CreateProcessA (argv[0],
 		       arg_string,
 		       &sec_attr,     /* process security attributes */

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



More information about the Pkg-gnupg-commit mailing list