Subject: misc/21300: the unistd header file should be included only one time in join.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sobrado@acm.org>
List: netbsd-bugs
Date: 04/24/2003 08:02:47
>Number: 21300
>Category: misc
>Synopsis: the unistd header file should be included only one time in join.c
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 24 08:03:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Igor Sobrado
>Release: 1.6
>Organization:
University of Oviedo
>Environment:
NetBSD ns1.localnet 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002
autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
>Description:
unistd.h should be included only one time in src/usr.bin/join/join.c.
This header file is added two times in the source code.
>How-To-Repeat:
The problem is easy to see looking at join.c
>Fix:
--- join.c Thu Apr 24 09:54:45 2003
+++ join.c.new Thu Apr 24 09:55:21 2003
@@ -58,7 +58,6 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
#include <string.h>
#include <unistd.h>
>Release-Note:
>Audit-Trail:
>Unformatted: