[Pkg-gnupg-commit] [gpgme] 05/12: gpg: Add option --exit-on-status-write-error

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 23:29:27 UTC 2016


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

dkg pushed a commit to branch cleanup-2016-09-22
in repository gpgme.

commit dee56820cabde60c43c9bf8281b8d411cb2ad644
Author: Daiki Ueno <ueno at gnu.org>
Date:   Tue Feb 9 17:03:53 2016 +0900

    gpg: Add option --exit-on-status-write-error
    
    * src/engine-gpg.c (gpg_new): Add --exit-on-status-write-error if the
    engine version is latest enough to expect progress output from gpg.
    
    --
    GnuPG-bug-id: 1415
    Signed-off-by: Daiki Ueno <ueno at gnu.org>
    
    Changed the version test from the patch to use the newer
    have_gpg_version.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 src/engine-gpg.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index 8bb348f..3f1d34d 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -544,6 +544,8 @@ gpg_new (void **engine, const char *file_name, const char *home_dir,
     rc = add_arg (gpg, "utf8");
   if (!rc)
     rc = add_arg (gpg, "--enable-progress-filter");
+  if (!rc && have_gpg_version (gpg, "2.1.11"))
+    rc = add_arg (gpg, "--exit-on-status-write-error");
   if (rc)
     goto leave;
 

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