Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



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.




Home | Main Index | Thread Index | Old Index