diff options
author | albert-github <albert.tests@gmail.com> | 2014-02-09 12:27:45 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2014-02-09 12:27:45 (GMT) |
commit | 3c941f24ee93687c197363fa2d4b787512878eab (patch) | |
tree | 184987e60375bd5d2fa3ab8639ee022676bf26d1 /src/cite.cpp | |
parent | 2a9ddad1026af118c499e9ba22d15dc14e1d204f (diff) | |
download | Doxygen-3c941f24ee93687c197363fa2d4b787512878eab.zip Doxygen-3c941f24ee93687c197363fa2d4b787512878eab.tar.gz Doxygen-3c941f24ee93687c197363fa2d4b787512878eab.tar.bz2 |
On windows citelist.doc remains
On windows the file citelist.doc is not removed as it is not closed. This patch closes the file.
Diffstat (limited to 'src/cite.cpp')
-rw-r--r-- | src/cite.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cite.cpp b/src/cite.cpp index 53ab9b5..a3056ba 100644 --- a/src/cite.cpp +++ b/src/cite.cpp @@ -239,6 +239,7 @@ void CiteDict::generatePage() const QFileInfo fi(citeListFile); QCString input(fi.size()+1); f.readBlock(input.data(),fi.size()); + f.close(); input.at(fi.size())='\0'; int p=0,s; //printf("input=[%s]\n",input.data()); |