[git] GnuPG - branch, STABLE-BRANCH-2-2, updated. gnupg-2.2.6-35-g3bd7932

by Andre Heinecke cvs at cvs.gnupg.org
Wed May 2 14:07:49 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, STABLE-BRANCH-2-2 has been updated
       via  3bd793256e2e4be52075d50ccf2df70c4a2e1a0f (commit)
      from  a598bbeeafa30f7854230eed212b76d5c5c77f86 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3bd793256e2e4be52075d50ccf2df70c4a2e1a0f
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Wed May 2 14:01:33 2018 +0200

    common,w32: Hide spawned processes by default
    
    * common/exechelp-w32.c (gnupg_spawn_process): Use SW_HIDE
    instead of SW_MINIMIZE.
    
    --
    Spawning minimized shows icons in the task bar so users
    see that background processes are started, which is unusual.
    
    I'm pretty sure that the intention of the code was to hide
    the window if not in spawn debug mode. This is also what
    GPGME does.
    
    This fixes dirmngr_ldap process windows and other
    spurious reports about e.g. a gpgv console window from
    loadswdb.
    
    GnuPG-Bug-Id: T3937
    Signed-off-by: Andre Heinecke <aheinecke at intevation.de>

diff --git a/common/exechelp-w32.c b/common/exechelp-w32.c
index 2c44e2c..da17450 100644
--- a/common/exechelp-w32.c
+++ b/common/exechelp-w32.c
@@ -555,7 +555,7 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
   memset (&si, 0, sizeof si);
   si.cb = sizeof (si);
   si.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
-  si.wShowWindow = DEBUG_W32_SPAWN? SW_SHOW : SW_MINIMIZE;
+  si.wShowWindow = DEBUG_W32_SPAWN? SW_SHOW : SW_HIDE;
   si.hStdInput  = inpipe[0]  == INVALID_HANDLE_VALUE? nullhd[0] : inpipe[0];
   si.hStdOutput = outpipe[1] == INVALID_HANDLE_VALUE? nullhd[1] : outpipe[1];
   si.hStdError  = errpipe[1] == INVALID_HANDLE_VALUE? nullhd[2] : errpipe[1];

-----------------------------------------------------------------------

Summary of changes:
 common/exechelp-w32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list