From 08499467b6ee37d97180c1cefb42abd3d34005dd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 31 Oct 2009 10:59:43 +0000 Subject: #cmcfixes65: #i103768# add fclose --- soltools/mkdepend/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'soltools') diff --git a/soltools/mkdepend/main.c b/soltools/mkdepend/main.c index de5b66256d1e..a786f5a4d7f6 100644 --- a/soltools/mkdepend/main.c +++ b/soltools/mkdepend/main.c @@ -718,8 +718,9 @@ void redirect(line, makefile) #if defined(USGISH) || defined(_SEQUENT_) || defined(USE_CHMOD) chmod(makefile, st.st_mode); #else - fchmod(fileno(fdout), st.st_mode); + fchmod(fileno(fdout), st.st_mode); #endif /* USGISH */ + fclose(fdin); } #if NeedVarargsPrototypes -- cgit