diff options
author | Werner Koch <wk@gnupg.org> | 2008-01-27 15:43:52 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-01-27 15:43:52 +0100 |
commit | d84d5ea748b2df0fd2fbd26149e8901e7fdd4af5 (patch) | |
tree | 9cffdf61c2bab8fdc9bfcc17548b0327c50661de /sm | |
parent | Typo fixes. (diff) | |
download | gnupg2-d84d5ea748b2df0fd2fbd26149e8901e7fdd4af5.tar.xz gnupg2-d84d5ea748b2df0fd2fbd26149e8901e7fdd4af5.zip |
[W32] Avoid extra console window when importing or exporting.
Fixes bug 875.
Diffstat (limited to 'sm')
-rw-r--r-- | sm/ChangeLog | 10 | ||||
-rw-r--r-- | sm/export.c | 2 | ||||
-rw-r--r-- | sm/import.c | 2 |
3 files changed, 10 insertions, 4 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog index 032f02897..3f7374a4f 100644 --- a/sm/ChangeLog +++ b/sm/ChangeLog @@ -1,3 +1,9 @@ +2008-01-27 Werner Koch <wk@g10code.com> + + * import.c (popen_protect_tool): Set bit 7 in the flags for + gnupg_spawn_process so that under W32 no window appears. + * export.c (popen_protect_tool): Ditto. + 2007-12-13 Werner Koch <wk@g10code.com> * gpgsm.c (main): Add option --extra-digest-algo. @@ -2181,8 +2187,8 @@ h2007-11-22 Werner Koch <wk@g10code.com> * server.c (rc_to_assuan_status): New. Use it for all commands. - Copyright 2001, 2002, 2003, 2004, 2005, - 2006, 2007 Free Software Foundation, Inc. + Copyright 2001, 2002, 2003, 2004, 2005, 2006, + 2007, 2008 Free Software Foundation, Inc. This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without diff --git a/sm/export.c b/sm/export.c index 6854c2a16..1e8e95a2c 100644 --- a/sm/export.c +++ b/sm/export.c @@ -597,7 +597,7 @@ popen_protect_tool (const char *pgmname, assert (i < sizeof argv); return gnupg_spawn_process (pgmname, argv, infile, outfile, - setup_pinentry_env, + setup_pinentry_env, 128, statusfile, pid); } diff --git a/sm/import.c b/sm/import.c index f76c54d1e..7c825daf3 100644 --- a/sm/import.c +++ b/sm/import.c @@ -482,7 +482,7 @@ popen_protect_tool (const char *pgmname, assert (i < sizeof argv); return gnupg_spawn_process (pgmname, argv, infile, outfile, - setup_pinentry_env, + setup_pinentry_env, 128, statusfile, pid); } |