From 03bd0b3c8b8a3737302fbb0d4b8b7289207257b1 Mon Sep 17 00:00:00 2001 From: Jan-Simon Pendry Date: Tue, 31 Jan 1995 13:12:24 -0800 Subject: [PATCH] close config file after reading SCCS-vsn: usr.bin/man/config.c 8.8 SCCS-vsn: usr.bin/man/config.c 8.8 --- usr/src/usr.bin/man/config.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); } /* -- 2.20.1