Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 13:37:07 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 138094 for review
Message-ID:  <200803191337.m2JDb7jx048790@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=138094

Change 138094 by csjp@ibm01 on 2008/03/19 13:37:07

	undefine TSTOMILLI when we no longer require it. This helps a bit with
	namespace pollution.

Affected files ...

.. //depot/projects/zcopybpf/src/contrib/libpcap/pcap-bpf.c#26 edit

Differences ...

==== //depot/projects/zcopybpf/src/contrib/libpcap/pcap-bpf.c#26 (text+ko) ====

@@ -224,6 +224,7 @@
 	if (p->interrupted && p->to_ms) {
 		expire = TSTOMILLI(&p->firstsel) + p->to_ms;
 		tmout = expire - TSTOMILLI(&cur);
+#undef TSTOMILLI
 		if (tmout <= 0) {
 			p->interrupted = 0;
 			data = pcap_next_zbuf_shm(p, cc);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803191337.m2JDb7jx048790>