NetBSD Problem Report #147
From gnats Tue Mar 1 19:46:40 1994
Received: from localhost (cgd@localhost) by sun-lamp.cs.berkeley.edu (8.6.5/8.6.5) id TAA14122; Tue, 1 Mar 1994 19:46:40 -0800
Message-Id: <199403020346.TAA14122@sun-lamp.cs.berkeley.edu>
Date: Tue, 1 Mar 1994 19:46:40 -0800
From: "Chris G. Demetriou" <cgd>
Reply-To: cgd
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: netstat/iso.c #includes tp_astring.c
X-Send-Pr-Version: 3.2
>Number: 147
>Category: bin
>Synopsis: netstat/iso.c #includes tp_astring.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 01 19:50:02 +0000 1994
>Closed-Date: Fri Mar 25 20:15:50 +0000 1994
>Last-Modified: Sun Mar 03 17:48:51 +0000 2013
>Originator: Chris G. Demetriou
>Release: NetBSD-current
>Organization:
Kernel Hackers 'r' Us
>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.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: glass
State-Changed-When: Fri Mar 25 20:15:50 1994
State-Changed-Why:
moved relevant bits from netiso/tp_astring.c to usr.bin/netstat/iso.c
toasted netiso/tp_astring.c, and updated files{.newconf}.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.