Date: Wed, 7 May 1997 07:04:08 -0700 (PDT) From: Chris Timmons <skynyrd@opus.cts.cwu.edu> To: Bill Fenner <fenner@FreeBSD.ORG> Cc: freebsd-bugs@hub.freebsd.org Subject: Re: i386/3353 Message-ID: <Pine.BSF.3.95.970507070038.19138A-100000@opus.cts.cwu.edu> In-Reply-To: <199705060608.XAA18581@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Probably you can close this as bde fixed it shortly after I reported it. At first I thought I'd really broken something in my local bits :) bde 97/04/20 04:44:33 Modified: sys/i386/include endian.h Log: Fixed linting of and compilation of the gcc byte-swapping macros properly. Simply don't use the gcc macros if we're not gcc, and declare prototypes for the byte-swapping functions in case the macro versions are not used. The previous fix was wrong and broke libpcap, which abuses -Dlint. Don't pollute the namespace if _POSIX_SOURCE is defined. This is broken - it makes almost everything in <machine/endian.h> inaccessible if _POSIX_SOURCE is defined, yet <machine/endian.h> is not a POSIX header. Other systems don't do it any better. Removed always-false `BYTE_ORDER == BIG_ENDIAN' ifdef. Obtained from: partly from Lite(2?) and NetBSD Revision Changes Path 1.15 +12 -15 src/sys/i386/include/endian.h On Mon, 5 May 1997, Bill Fenner wrote: > Synopsis: NTOHS(x) related compiler warnings and libpcap disfunction > > Responsible-Changed-From-To: freebsd-bugs->fenner > Responsible-Changed-By: fenner > Responsible-Changed-When: Mon May 5 23:07:36 PDT 1997 > Responsible-Changed-Why: > fenner is merging new libpcap and tcpdump (See PR#bin/3371) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970507070038.19138A-100000>