m4_dnl (part of complex test harness, not of the library)
m4_dnl - playback routines
-m4_dnl This file is part of adns, which is Copyright (C) 1997-1999 Ian Jackson
+m4_dnl This file is
+m4_dnl Copyright (C) 1997-1999 Ian Jackson <ian@davenant.greenend.org.uk>
+m4_dnl
+m4_dnl It is part of adns, which is
+m4_dnl Copyright (C) 1997-1999 Ian Jackson <ian@davenant.greenend.org.uk>
+m4_dnl Copyright (C) 1999 Tony Finch <dot@dotat.at>
m4_dnl
m4_dnl This program is free software; you can redistribute it and/or modify
m4_dnl it under the terms of the GNU General Public License as published by
for (te= Terrnos; te->n && strcmp(te->n,stuff); te++);
if (te->n) return te->v;
- r= strtoul(stuff+1,&ep,10);
- if (ep) Psyntax("errno value not recognised, not numeric");
+ r= strtoul(stuff+2,&ep,10);
+ if (*ep) Psyntax("errno value not recognised, not numeric");
return r;
}
}
}
+#ifdef HAVE_POLL
static int Ppollfdevents(void) {
int events;
}
if (vb2.buf[vb2.used++] != hm_squote]hm_squote) Psyntax("pollfds end not ]");
}
+#endif
static void Paddr(struct sockaddr *addr, int *lenr) {
struct sockaddr_in *sa= (struct sockaddr_in*)addr;