[dns-operations] dnscap V1.0-RC1
rstory+dnsops at sparta.com
Thu May 24 16:34:01 UTC 2007
On Thu, 24 May 2007 12:28:03 -0400 Robert wrote:
RS> On Wed, 23 May 2007 21:28:29 +0000 Paul wrote:
RS> PV> is now in anoncvs. if it still compiles and runs everywhere, i'll make a
RS> PV> tarball and put that in a persistent location.
RS> On FC5, cvs as of 3 minutes ago:
RS> cc1: warnings being treated as errors
RS> dnscap.c: In function 'poll_pcaps':
RS> dnscap.c:831: warning: implicit declaration of function 'FD_COPY'
RS> dnscap.c:831: warning: nested extern declaration of 'FD_COPY'
RS> make: *** [dnscap.o] Error 1
FC5 has no FD_COPY... this patch worked ok, borrowing FD_COPY from os x:
RCS file: /proj/cvsroot/dnscap/dnscap.c,v
retrieving revision 1.17
diff -u -p -r1.17 dnscap.c
--- dnscap.c 24 May 2007 14:25:41 -0000 1.17
+++ dnscap.c 24 May 2007 16:33:09 -0000
@@ -100,6 +100,10 @@ static const char version = "V1.0-RC3
+#define FD_COPY(f, t) bcopy(f, t, sizeof(*(f)))
/* Constants. */
More information about the dns-operations