[git] GPG-ERROR - branch, master, updated. libgpg-error-1.25-14-gf02a657

by Werner Koch cvs at cvs.gnupg.org
Wed Dec 14 16:36:26 CET 2016


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 "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  f02a657f0129b30700b2f36956ee37b40cc2da82 (commit)
      from  90b4dfad438900c7808b8c2995ba984fa3587bb2 (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 f02a657f0129b30700b2f36956ee37b40cc2da82
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Dec 13 12:42:43 2016 +0100

    New error code GPG_ERR_TRY_LATER.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/NEWS b/NEWS
index 3b3ffb2..21637bc 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Noteworthy changes in version 1.26 (unreleased) [C20/A20/R_]
  GPG_ERR_UNKNOWN_FLAG             NEW.
  GPG_ERR_INV_ORDER                NEW.
  GPG_ERR_ALREADY_FETCHED          NEW.
+ GPG_ERR_TRY_LATER                NEW.
  GPG_ERR_SYSTEM_BUG               NEW.
  GPG_ERR_DNS_UNKNOWN	          NEW.
  GPG_ERR_DNS_SECTION	          NEW.
diff --git a/doc/errorref.txt b/doc/errorref.txt
index ce626eb..6cea1b7 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -248,7 +248,7 @@ GPG_ERR_NETWORK                         Network error
 
 GPG_ERR_UNKNOWN_HOST            Unknown host
 
-        Used instead of the non-portbale EHOSTNOTFOUND which is
+        Used instead of the non-portable EHOSTNOTFOUND which is
         returned by some systems as a mapping of h_errno's
         HOST_NOT_FOUND
 
@@ -1033,6 +1033,11 @@ GPG_ERR_ALREADY_FETCHED         Already fetched
 
     GNUPG: - In Dirmngr used for the libdns error code DNS_EFETCHED.
 
+GPG_ERR_TRY_LATER               Try again later
+
+    This indicates that a server asked to try again later; thus it is
+    different from EAGAIN which is used by the local system.  This
+    code is for example used instead of h_error's TRY_AGAIN.
 
 GPG_ERR_SYSTEM_BUG              System bug detected
 
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index efc40e4..1c46948 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -331,6 +331,7 @@
 309	GPG_ERR_UNKNOWN_FLAG		Unknown flag
 310	GPG_ERR_INV_ORDER		Invalid execution order
 311	GPG_ERR_ALREADY_FETCHED		Already fetched
+312	GPG_ERR_TRY_LATER		Try again later
 # This range is free for use.
 
 666	GPG_ERR_SYSTEM_BUG		System bug detected

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

Summary of changes:
 NEWS               | 1 +
 doc/errorref.txt   | 7 ++++++-
 src/err-codes.h.in | 1 +
 3 files changed, 8 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list