Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 03/18/1998 12:30:02
tv
Wed Mar 18 12:29:27 PST 1998
Update of /cvsroot/src/lib/libc/gen
In directory nb00:/tmp/cvs-serv21086

Modified Files:
	getcap.c 
Log Message:
PR 5170: don't fclose twice, or call ferror after fclose.
required removing fcloses and/or moving them, nulling the pointers
like they should have been, and adding a terminating null byte and break
in one case (perhaps we never ran into those problems before).
cgetclose() already does a fclose and null of the pointer, so don't
duplicate it when we don't need to.