Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/bin/pax



On Thu, 31 Jan 2002, Christos Zoulas wrote:

: >Modified Files:
: >     basesrc/bin/pax: ar_io.c ar_subs.c buf_subs.c cpio.c file_subs.c
: >         gen_subs.c pat_rep.c pax.c sel_subs.c tables.c tar.c tty_subs.c
: >
: >Log Message:
: >Protect __RCSID and __COPYRIGHT from being invoked if not defined.

: I don't see the point of that since we are including *our* <sys/cdefs.h>

Not for a host tool.  In fact, we *CAN'T* include "our" <sys/cdefs.h> for
using pax as a host tool, since a foreign host may have its own
<sys/cdefs.h> that defines things needed for that host.

Of course, if KNF didn't specify direct inclusion of <sys/cdefs.h> at the
very top of the file (which it shouldn't, braindead bull$%^t), I wouldn't
have to fight this bogosity.

-- 
-- Todd Vierling <tv%wasabisystems.com@localhost>  *  Wasabi & NetBSD:  Run 
with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/




Home | Main Index | Thread Index | Old Index