diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-12-06 18:20:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-12-06 18:20:45 (GMT) |
commit | b6ef778f99fb691dc98832a43bd14cbd7e23d820 (patch) | |
tree | db6a4cf330b3c7b7dc387321cabe709ba675e957 /src/config.l | |
parent | 02aa9b678dbeb1867c68278045b28d7bc1683f7c (diff) | |
download | Doxygen-b6ef778f99fb691dc98832a43bd14cbd7e23d820.zip Doxygen-b6ef778f99fb691dc98832a43bd14cbd7e23d820.tar.gz Doxygen-b6ef778f99fb691dc98832a43bd14cbd7e23d820.tar.bz2 |
Doxygen-1.3.9.1-20041206
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.l b/src/config.l index bd0210f..60060e5 100644 --- a/src/config.l +++ b/src/config.l @@ -2850,12 +2850,12 @@ static QCString configFileToString(const char *name) int fsize=f.size(); QCString contents(fsize+2); f.readBlock(contents.data(),fsize); + f.close(); if (fsize==0 || contents[fsize-1]=='\n') contents[fsize]='\0'; else contents[fsize]='\n'; // to help the scanner contents[fsize+1]='\0'; - f.close(); return contents; } } |