We are pleased to announce version 1.4 of libgpg-error,
a library for common error values and messages in GnuPG components.
This is a shared library so it can be updated independently of each
individual component, while still allowing the use of new error values in
It may be found in the files
or gzip compressed
or as a patch to upgrade from 1.3:
It should soon appear on the mirrors listed at:
Bug reports and requests for assistance should be sent to:
The sha1sum checksums for this distibution are
Noteworthy changes in version 1.4 (2006-09-14)
* Support for Common Lisp is included.
* New error codes for the Assuan IPC library.
* New error code GPG_ERR_MISSING_ERRNO to be used in cases when a
system accidently does not set errno but a system error definitely
* New error source GPG_ERR_SOURCE_ANY to allow proper use of
libgpg-error even if a specific source is not available.
* New convenience functions gpg_err_code_from_syserror and
gpg_error_from_syserror which make sure never to return 0.
The new gpg_error_from_syserror is robustness feature useful in cases
where you want to make sure that an error is returned even if
accidently ERRNO has not been set. For example:
foo (size_t n)
char *p = my_malloc (n);
return gpg_error_from_errno (errno);
bar (p, n);
return 0; /* Success. */
With a faulty my_malloc which does not set ERRNO on failure, this code
would falsely return success if my_malloc has failed. Replacing the
return gpg_error_from_syserror ();
solves the problem as the new function will return
GPG_ERR_MISSING_ERRNO in this case. It has also the advantage of
avoiding the need to include errno.h.
Commercial support contracts for GnuPG and related software are
available, and they help finance continued maintenance. g10 Code, a
Duesseldorf based company owned and headed by GnuPG's principal
author, is currently funding GnuPG development. We are always looking
for interesting development projects.
Werner Koch <[hidden email]>
The GnuPG Experts http://g10code.com
Join the Fellowship and protect your Freedom! http://www.fsfe.org
Gnupg-announce mailing list
attachment0 (202 bytes) Download Attachment
|Free forum by Nabble||Edit this page|