summaryrefslogtreecommitdiffstats
path: root/soltools
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2009-10-31 10:59:43 +0000
committerCaolán McNamara <cmc@openoffice.org>2009-10-31 10:59:43 +0000
commit08499467b6ee37d97180c1cefb42abd3d34005dd (patch)
tree874e151b0b6ad24c4cbbb45b33c4d5f4996848ca /soltools
parentCreate DEV300_m63 milestone tag from trunk@277194 (diff)
downloadcore-08499467b6ee37d97180c1cefb42abd3d34005dd.tar.gz
core-08499467b6ee37d97180c1cefb42abd3d34005dd.zip
#cmcfixes65: #i103768# add fclose
Diffstat (limited to 'soltools')
-rw-r--r--soltools/mkdepend/main.c3
1 files changed, 2 insertions, 1 deletions
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