From: Jan-Simon Pendry Date: Tue, 31 Jan 1995 21:12:24 +0000 (-0800) Subject: close config file after reading X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/03bd0b3c8b8a3737302fbb0d4b8b7289207257b1 close config file after reading SCCS-vsn: usr.bin/man/config.c 8.8 SCCS-vsn: usr.bin/man/config.c 8.8 --- diff --git a/usr/src/usr.bin/man/config.c b/usr/src/usr.bin/man/config.c index fad6517671..8c2e31747f 100644 --- a/usr/src/usr.bin/man/config.c +++ b/usr/src/usr.bin/man/config.c @@ -1,12 +1,12 @@ /* - * Copyright (c) 1989, 1993 + * Copyright (c) 1989, 1993, 1995 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% */ #ifndef lint -static char sccsid[] = "@(#)config.c 8.7 (Berkeley) %G%"; +static char sccsid[] = "@(#)config.c 8.8 (Berkeley) %G%"; #endif /* not lint */ #include @@ -96,6 +96,8 @@ config(fname) TAILQ_INSERT_TAIL(&tp->list, ep, q); } } + + fclose(cfp); } /*