[Pkg-gnupg-commit] [gnupg2] 63/124: gpg: Remove unused stuff.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 5 15:55:33 UTC 2017


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

dkg pushed a commit to branch experimental
in repository gnupg2.

commit e2c63a13e2fa4ce39af8471a34c06d73ff3ee6f6
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Mar 20 08:38:54 2017 +0100

    gpg: Remove unused stuff.
    
    * g10/OPTIONS: Remove.
    * g10/options.h (struct opt): Remove 'shm_coprocess'.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 doc/HACKING   |  4 ++--
 g10/OPTIONS   | 24 ------------------------
 g10/options.h |  1 -
 3 files changed, 2 insertions(+), 27 deletions(-)

diff --git a/doc/HACKING b/doc/HACKING
index e717479..fc0c3f4 100644
--- a/doc/HACKING
+++ b/doc/HACKING
@@ -168,13 +168,13 @@ Note that such a comment will be removed if the git commit option
     that the freed variable is not anymore used, explicitly set the
     variable to NULL.
   - New code shall in general use xtrymalloc or xtrycalloc and check
-    for an error (use gpg_error_from_errno()).
+    for an error (use gpg_error_from_syserror()).
   - Init function local variables only if needed so that the compiler
     can do a better job in detecting uninitialized variables which may
     indicate a problem with the code.
   - Never init static or file local variables to 0 to make sure they
     end up in BSS.
-  - But extra parenthesis around terms with binary operators to make
+  - Put extra parenthesis around terms with binary operators to make
     it clear that the binary operator was indeed intended.
   - Use --enable-maintainer-mode with configure so that all suitable
     warnings are enabled.
diff --git a/g10/OPTIONS b/g10/OPTIONS
deleted file mode 100644
index b1a49e2..0000000
--- a/g10/OPTIONS
+++ /dev/null
@@ -1,24 +0,0 @@
-# Some notes used by the maintainers
-
-
-store
-# simply packs the input data into a rfc1991 packet format
-
-check-trustdb
-
-
-compress-keys
-# compress exported key, compress level is still set with "-z" and
-# algorithm with --compress-algo" - Default is to not compress keys, as
-# this is better for interoperability.
-
-compress-sigs
-# Normally, compressing of signatures does not make sense; so this
-# is disabled for detached signatures unless this option is used.
-
-run-as-shm-coprocess [request-locked-shm-size]
-# very special :-)
-# You will have to use "--status-fd" too
-# Note:  This option does only work if given on the command line.
-
-
diff --git a/g10/options.h b/g10/options.h
index def6385..c634f0f 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -148,7 +148,6 @@ struct
     {
       KF_DEFAULT, KF_NONE, KF_SHORT, KF_LONG, KF_0xSHORT, KF_0xLONG
     } keyid_format;
-  int shm_coprocess;
   const char *set_filename;
   strlist_t comments;
   int throw_keyids;

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