Subject: bin/147: netstat/iso.c #includes tp_astring.c
To: None <gnats-admin>
From: Chris G. Demetriou <cgd>
List: netbsd-bugs
Date: 03/01/1994 19:50:02
>Number:         147
>Category:       bin
>Synopsis:       netstat/iso.c #includes tp_astring.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar  1 19:50:02 1994
>Originator:     Chris G. Demetriou
>Organization:
Kernel Hackers 'r' Us
>Release:        NetBSD-current
>Environment:
System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP#39 i386

>Description:
netstat/iso.c has a line of the form:
#include <netiso/tp_astring.c>

If you want to include .c sources, they should be compiled, rather than
#included!!!

Also, for some reason, /sys/netiso/tp_astring.c includes stdio.h!!!

(reported by ron minnich.)

>How-To-Repeat:
Look at the source.

>Fix:
kill the include, munge the makefile to do the right thing.
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------