NetBSD Problem Report #45658

From www@NetBSD.org  Sun Nov 27 08:11:35 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E7D3663D970
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 Nov 2011 08:11:34 +0000 (UTC)
Message-Id: <20111127081134.59A3563D6CC@www.NetBSD.org>
Date: Sun, 27 Nov 2011 08:11:34 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Remove unused header in cmp.
X-Send-Pr-Version: www-1.0

>Number:         45658
>Category:       bin
>Synopsis:       Remove unused header in cmp.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 27 08:15:00 +0000 2011
>Closed-Date:    Mon Nov 28 10:11:13 +0000 2011
>Last-Modified:  Mon Nov 28 10:15:02 +0000 2011
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Header string.h unused in regular.c and special.c.
>How-To-Repeat:

>Fix:
diff -u -p -r1.22 regular.c
--- usr.bin/cmp/regular.c	18 Apr 2009 06:24:05 -0000	1.22
+++ usr.bin/cmp/regular.c	4 Nov 2011 05:24:29 -0000
@@ -46,7 +46,6 @@ __RCSID("$NetBSD: regular.c,v 1.22 2009/
 #include <limits.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <string.h>

 #include "extern.h"

===================================================================
diff -u -p -r1.13 special.c
--- usr.bin/cmp/special.c	11 Apr 2009 12:16:12 -0000	1.13
+++ usr.bin/cmp/special.c	4 Nov 2011 05:24:29 -0000
@@ -43,7 +43,6 @@ __RCSID("$NetBSD: special.c,v 1.13 2009/
 #include <err.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <string.h>

 #include "extern.h"

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 28 Nov 2011 10:11:13 +0000
State-Changed-Why:
Committed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45658 CVS commit: src/usr.bin/cmp
Date: Mon, 28 Nov 2011 10:10:10 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Mon Nov 28 10:10:10 UTC 2011

 Modified Files:
 	src/usr.bin/cmp: regular.c special.c

 Log Message:
 Remove unused header. From Henning Petersen in PR 45658.


 To generate a diff of this commit:
 cvs rdiff -u -r1.22 -r1.23 src/usr.bin/cmp/regular.c
 cvs rdiff -u -r1.13 -r1.14 src/usr.bin/cmp/special.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.