Subject: bin/5293: pwd_mkdb does not compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Anders.Hjalmarsson@economics.gu.se>
List: netbsd-bugs
Date: 04/14/1998 21:46:15
>Number:         5293
>Category:       bin
>Synopsis:       pwd_mkdb does not compile
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 14 12:50:01 1998
>Last-Modified:
>Originator:     Anders Hjalmarsson
>Organization:
>Release:        NetBSD-current 19980414
>Environment:
System: NetBSD econahja.econ.gu.se 1.3E NetBSD 1.3E (ECONAHJA) #95: Tue Apr 14 11:11:57 CEST 1998 econahja@econahja.econ.gu.se:/usr/src/sys/arch/i386/compile/ECONAHJA i386


>Description:
	pwd_mkdb does not compile, because the variable buf is not used.
>How-To-Repeat:
	Try to compile it.
>Fix:
Diff from pwd_mkdb.c 1.12
--- pwd_mkdb.c.old	Tue Apr 14 21:37:00 1998
+++ pwd_mkdb.c	Tue Apr 14 21:37:13 1998
@@ -487,8 +487,6 @@
 void
 cleanup()
 {
-	char buf[MAXPATHLEN];
-
 	switch(clean) {
 	case FILE_ORIG:
 		rm(oldpwdfile);
>Audit-Trail:
>Unformatted: