From: ian Date: Mon, 3 Apr 2006 23:47:41 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: wip.base.getaddrinfo~70 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/commitdiff_plain/032b63589e598b817032375f919cbc1809ca271e *** empty log message *** --- diff --git a/changelog b/changelog index 6467c9e..70ac646 100644 --- a/changelog +++ b/changelog @@ -9,6 +9,7 @@ adns (1.1.999.0.2); urgency=medium * adnstest converts some errno values to EFOOBAR: all of the ones mentioned in adns.h, at least. This makes the regression test more portable (fixes problem noticed by Bernd Eckenfels). + * Document in adns.h EINVAL from adns_init meaning bad configuration. Fixes from or suggested by Bernd Eckenfels, the Debian maintainer: * Correct type of various printf arguments: ptrdiff_t != int. diff --git a/src/adns.h b/src/adns.h index abeba06..7dad0e6 100644 --- a/src/adns.h +++ b/src/adns.h @@ -51,7 +51,7 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * - * $Id: adns.h,v 1.88 2006/04/03 22:49:32 ian Exp $ + * $Id: adns.h,v 1.89 2006/04/03 23:47:41 ian Exp $ */ #ifndef ADNS_H_INCLUDED @@ -340,7 +340,8 @@ typedef struct { * * For _init, _init_strcfg, _submit and _synchronous, system errors * (eg, failure to create sockets, malloc failure, etc.) return errno - * values. + * values. EINVAL from _init et al means the configuration file + * is erroneous and cannot be parsed. * * For _wait and _check failures are reported in the answer * structure, and only 0, ESRCH or (for _check) EAGAIN is