From 1f3c7397693fa9c72e22dcf067124ddecc6854d0 Mon Sep 17 00:00:00 2001 From: robertc <> Date: Sat, 8 Feb 2003 09:32:53 +0000 Subject: [PATCH] Summary: Close /etc/hosts filedescriptor after parsing. Keywords: Close /etc/hosts filedescriptor after parsing. --- src/tools.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools.cc b/src/tools.cc index c9f9878bf4..e206ea4007 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -1,6 +1,6 @@ /* - * $Id: tools.cc,v 1.230 2003/01/23 00:37:27 robertc Exp $ + * $Id: tools.cc,v 1.231 2003/02/08 02:32:53 robertc Exp $ * * DEBUG: section 21 Misc Functions * AUTHOR: Harvest Derived @@ -996,6 +996,7 @@ parseEtcHosts(void) skip: wordlistDestroy(&hosts); } + fclose (fp); } int -- 2.47.3