summaryrefslogtreecommitdiff
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
commit33ce87ee5722d31da170349d613d8544490a3e54 (patch)
tree2916b3d3abd8daee095283d458467ec31023fbcc /soltools/mkdepend
parent8c6760e1c2ff2bfa5826a29250f06f7bc3dd8f65 (diff)
parent49e40ddf75b3466aff0fd289b720ca1f275f8967 (diff)
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 7295a5d3f..53a97da8a 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