From: ian Date: Thu, 14 Sep 2000 01:15:20 +0000 (+0000) Subject: + * Add list of tested platforms in INSTALL file. X-Git-Tag: rel-adns-pre-1-0--1~28 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=e32d0f9ec3413e4781ef9682e360e3c31e41c293 + * Add list of tested platforms in INSTALL file. @@ -1,8 +1,10 @@ + * Add list of tested platforms in INSTALL file. + * Add extra {...} near adnslogres.c:167 to kill spurious warning. --- diff --git a/INSTALL b/INSTALL index 5c9961a..d17a10e 100644 --- a/INSTALL +++ b/INSTALL @@ -14,6 +14,25 @@ yet. For now, use the comments in the public header file adns.h. You will find that adns requires a reasonably standard and up to date system. +The following platforms have been tested at at least some point and +should work - please report if they don't: + [adns] OS + pre-1.0 Linux glibc 2.1 (actually tested on Debian 2.2). + pre-1.0 FreeBSD 3.2 + pre-1.0 Solaris 2.6, 2.7, 2.8 + pre-1.0 HP-UX 10.20, 11.00 + pre-1.0 IRIX 6.5 *not* with GCC [1], --disable-dynamic +Later versions of the same OS should work too. [adns] is the latest +version of adns that has been tested. Usually entries in this table +mean they pass adns's own regression test, when compiled with GCC. +Notes/known problems: + [1] IRIX 6.5 inet_ntoa seems to break with GCC. + +The following platforms are known to be deficient and will not work: + Solaris 2.5 Lacks vsnprintf +Please don't report these problems unless you have a nice, +straightforward solution or workaround for them. + In particular, the build system assumes that you have ELF shared libraries. If you don't then please don't send me patches to support your kind of shared libraries, and don't send me patches to use diff --git a/changelog b/changelog index dae0593..d1be67e 100644 --- a/changelog +++ b/changelog @@ -1,8 +1,10 @@ adns (0.10) unstable; urgency=low + * Add list of tested platforms in INSTALL file. * Fix in client/adnsresfilter.c to . * Kill bogus warning, adh-main.c: `arg2' might be used uninitialized ... * #include and for fcntl in */*.c. + * Add extra {...} near adnslogres.c:167 to kill spurious warning. -- diff --git a/client/adnslogres.c b/client/adnslogres.c index d5f0e36..b81b221 100644 --- a/client/adnslogres.c +++ b/client/adnslogres.c @@ -160,13 +160,14 @@ static void proclog(FILE *inf, FILE *outf, int opts) { if (opts & OPT_DEBUG) msg("%d in queue; checking %.*s", len, head->rest-head->addr, guard_null(head->addr)); - if (eof || len > MAXPENDING) + if (eof || len > MAXPENDING) { if (opts & OPT_POLL) err= adns_wait_poll(adns, &head->query, &answer, NULL); else err= adns_wait(adns, &head->query, &answer, NULL); - else + } else { err= adns_check(adns, &head->query, &answer, NULL); + } if (err != EAGAIN) { printline(outf, head->start, head->addr, head->rest, answer->status == adns_s_ok ? *answer->rrs.str : NULL);