summaryrefslogtreecommitdiff
path: root/soltools
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
parent6fda16aece3f038783497dc1f7e74944de266588 (diff)
parent867b9406d220830960f79de3021d34445c8a8fcd (diff)
merge commit for m65
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