summaryrefslogtreecommitdiffstats
path: root/soltools/mkdepend
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-11-23 17:39:22 +0100
committerMathias Bauer <mba@openoffice.org>2009-11-23 17:39:22 +0100
commit8cedfc0931768085d01f577f65d120384e8328bf (patch)
treecaa9dc27e40100f8ad361c3f49b3dba294da0ac4 /soltools/mkdepend
parent#i106976#: split build tooling (diff)
parent#i10000# do not use a global variable (diff)
downloadcore-8cedfc0931768085d01f577f65d120384e8328bf.tar.gz
core-8cedfc0931768085d01f577f65d120384e8328bf.zip
merge commit for m65
Diffstat (limited to 'soltools/mkdepend')
-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