diff options
author | Caolán McNamara <cmc@openoffice.org> | 2009-10-31 10:59:43 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2009-10-31 10:59:43 +0000 |
commit | 08499467b6ee37d97180c1cefb42abd3d34005dd (patch) | |
tree | 874e151b0b6ad24c4cbbb45b33c4d5f4996848ca /soltools | |
parent | 3ea95386a5fdaedaa733db4c979c8096c8ec0148 (diff) |
#cmcfixes65: #i103768# add fclose
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/mkdepend/main.c | 3 |
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 |