[git] GPG-ERROR - branch, master, updated. libgpg-error-1.24-4-gbf7eb97
by Werner Koch
cvs at cvs.gnupg.org
Thu Sep 1 10:07:33 CEST 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 bf7eb978597ba07906f0a7490e626c071af1987f (commit)
via bc3e817bd7e671975f94bae20cbbf9a91fe3353b (commit)
from b2640cb1f7b3b056ea4f8fe4b79d58fcd10ef93b (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 bf7eb978597ba07906f0a7490e626c071af1987f
Author: Werner Koch <wk at gnupg.org>
Date: Thu Sep 1 09:48:39 2016 +0200
Check the size of the time_t.
* configure.ac (AC_HEADER_TIME): New.
(AC_CHECK_SIZEOF): Check size of time_t.
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/configure.ac b/configure.ac
index 61b3b47..1caf655 100644
--- a/configure.ac
+++ b/configure.ac
@@ -184,6 +184,20 @@ AC_C_CONST
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
AC_CHECK_SIZEOF(long long)
+AC_HEADER_TIME
+AC_CHECK_SIZEOF(time_t,,[[
+#include <stdio.h>
+#if TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# if HAVE_SYS_TIME_H
+# include <sys/time.h>
+# else
+# include <time.h>
+# endif
+#endif
+]])
# Find a 64 bit integer type to be used instead of off_t. We prefer
# the standard integer types over int64_t and finally try long long.
commit bc3e817bd7e671975f94bae20cbbf9a91fe3353b
Author: Werner Koch <wk at gnupg.org>
Date: Thu Sep 1 09:47:38 2016 +0200
Add error WINDOW_TOO_SMALL, WINDOW_TOO_LARGE, and MISSING_ENVVAR.
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/NEWS b/NEWS
index 31b2b75..f7e1af6 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,10 @@ Noteworthy changes in version 1.25 (unreleased) [C19/A19/R_)
* Interface changes relative to the 1.23 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- GPG_ERR_ENGINE_TOO_OLD NEW.
+ GPG_ERR_ENGINE_TOO_OLD NEW.
+ GPG_ERR_WINDOW_TOO_SMALL NEW.
+ GPG_ERR_WINDOW_TOO_LARGE NEW.
+ GPG_ERR_MISSING_ENVVAR NEW.
Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1)
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 5044572..b943c67 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -805,6 +805,45 @@ GPG_ERR_FALSE False
Used to return the boolean value False.
+
+GPG_ERR_ASS_GENERAL (257) General IPC error
+GPG_ERR_ASS_ACCEPT_FAILED (258) IPC accept call failed
+GPG_ERR_ASS_CONNECT_FAILED (259) IPC connect call failed
+GPG_ERR_ASS_INV_RESPONSE (260) Invalid IPC response
+GPG_ERR_ASS_INV_VALUE (261) Invalid value passed to IPC
+GPG_ERR_ASS_INCOMPLETE_LINE (262) Incomplete line passed to IPC
+GPG_ERR_ASS_LINE_TOO_LONG (263) Line passed to IPC too long
+GPG_ERR_ASS_NESTED_COMMANDS (264) Nested IPC commands
+GPG_ERR_ASS_NO_DATA_CB (265) No data callback in IPC
+GPG_ERR_ASS_NO_INQUIRE_CB (266) No inquire callback in IPC
+GPG_ERR_ASS_NOT_A_SERVER (267) Not an IPC server
+GPG_ERR_ASS_NOT_A_CLIENT (268) Not an IPC client
+GPG_ERR_ASS_SERVER_START (269) Problem starting IPC server
+GPG_ERR_ASS_READ_ERROR (270) IPC read error
+GPG_ERR_ASS_WRITE_ERROR (271) IPC write error
+GPG_ERR_ASS_TOO_MUCH_DATA (273) Too much data for IPC layer
+GPG_ERR_ASS_UNEXPECTED_CMD (274) Unexpected IPC command
+GPG_ERR_ASS_UNKNOWN_CMD (275) Unknown IPC command
+GPG_ERR_ASS_SYNTAX (276) IPC syntax error
+GPG_ERR_ASS_CANCELED (277) IPC call has been cancelled
+GPG_ERR_ASS_NO_INPUT (278) No input source for IPC
+GPG_ERR_ASS_NO_OUTPUT (279) No output source for IPC
+GPG_ERR_ASS_PARAMETER (280) IPC parameter error
+GPG_ERR_ASS_UNKNOWN_INQUIRE (281) Unknown IPC inquire
+
+
+GPG_ERR_ENGINE_TOO_OLD (300) Crypto engine too old
+
+GPG_ERR_WINDOW_TOO_SMALL(301) Screen or window too small
+
+ Pinentry: - The size of the screen is too small.
+
+GPG_ERR_WINDOW_TOO_LARGE (302) Screen or window too large
+
+GPG_ERR_MISSING_ENVVAR (303) Required environment variable not set
+
+ Pinentry: - The size of the screen can't be determined.
+
GPG_ERR_LDAP_GENERAL LDAP General error
Catch all error for LDAP. Use if if can't map an erro rocde to an
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index b44ac3f..dcbc0a3 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -320,7 +320,11 @@
# 282 to 299 are reserved for future assuan codes.
300 GPG_ERR_ENGINE_TOO_OLD Crypto engine too old
-# 301 to 720 are free to be used.
+301 GPG_ERR_WINDOW_TOO_SMALL Screen or window too small
+302 GPG_ERR_WINDOW_TOO_LARGE Screen or window too large
+303 GPG_ERR_MISSING_ENVVAR Required environment variable not set
+
+# This range is free for use.
#
# Mapping of LDAP error codes
-----------------------------------------------------------------------
Summary of changes:
NEWS | 5 ++++-
configure.ac | 14 ++++++++++++++
doc/errorref.txt | 39 +++++++++++++++++++++++++++++++++++++++
src/err-codes.h.in | 6 +++++-
4 files changed, 62 insertions(+), 2 deletions(-)
hooks/post-receive
--
Error codes used by GnuPG et al.
http://git.gnupg.org
More information about the Gnupg-commits
mailing list