chiark / gitweb /
+ * Add list of tested platforms in INSTALL file.
authorian <ian>
Thu, 14 Sep 2000 01:15:20 +0000 (01:15 +0000)
committerian <ian>
Thu, 14 Sep 2000 01:15:20 +0000 (01:15 +0000)
@@ -1,8 +1,10 @@
+  * Add list of tested platforms in INSTALL file.
+  * Add extra {...} near adnslogres.c:167 to kill spurious warning.

INSTALL
changelog
client/adnslogres.c

diff --git a/INSTALL b/INSTALL
index 5c9961a9ee39a0095a3090f1f8d417b190e7bf0c..d17a10ef4728f912b9f7c8888dc14b1ea55d9bb1 100644 (file)
--- 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
index dae059321fac9e5e4c8449762b7f71c1e9329ae9..d1be67e40b87655011f31e615d5824a0312793e8 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,8 +1,10 @@
 adns (0.10) unstable; urgency=low
 
+  * Add list of tested platforms in INSTALL file.
   * Fix <sys/fcntl.h> in client/adnsresfilter.c to <fcntl.h>.
   * Kill bogus warning, adh-main.c: `arg2' might be used uninitialized ...
   * #include <sys/types.h> and <unistd.h> for fcntl in */*.c.
+  * Add extra {...} near adnslogres.c:167 to kill spurious warning.
 
  --
 
index d5f0e369a3354bacf3d13257ccf72a087623e431..b81b221e04a6c6c5d3b4203a4dd7673d8e2d65ca 100644 (file)
@@ -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);