diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-06 18:20:45 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-06 18:20:45 (GMT) |
commit | 6813ee0d373629968dc3ff9235285819e45f5707 (patch) | |
tree | db6a4cf330b3c7b7dc387321cabe709ba675e957 /src/config.l | |
parent | 4a50fc78170244f82c376bbecd28be43cc849da3 (diff) | |
download | Doxygen-6813ee0d373629968dc3ff9235285819e45f5707.zip Doxygen-6813ee0d373629968dc3ff9235285819e45f5707.tar.gz Doxygen-6813ee0d373629968dc3ff9235285819e45f5707.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; } } |