Subject: bin/24002: headers included twice in tftpd.c
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <peter@pointless.nl>
List: netbsd-bugs
Date: 01/06/2004 15:04:05
>Number:         24002
>Category:       bin
>Synopsis:       headers included twice in tftpd.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 06 14:05:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Peter Postma
>Release:        NetBSD 1.6ZG
>Organization:
	
>Environment:
	
	
System: NetBSD mercury.pointless.nl 1.6ZG NetBSD 1.6ZG (mercury) #7: Tue Jan 6 08:03:04 CET 2004 peter@mercury.pointless.nl:/usr/obj/sys/arch/sparc64/compile/mercury sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	In src/libexec/tftpd/tftpd.c, the headers fcntl.h and signal.h
	are included twice.
>How-To-Repeat:
	See tftpd.c
>Fix:

Index: tftpd.c
===================================================================
RCS file: /cvsroot/src/libexec/tftpd/tftpd.c,v
retrieving revision 1.26
diff -u -r1.26 tftpd.c
--- tftpd.c     2003/08/07 09:46:53     1.26
+++ tftpd.c     2004/01/06 14:02:14
@@ -59,12 +59,10 @@
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <fcntl.h>
 #include <grp.h>
 #include <netdb.h>
 #include <pwd.h>
 #include <setjmp.h>
-#include <signal.h>
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>

>Release-Note:
>Audit-Trail:
>Unformatted: