diff options
author | brad kittenbrink <brad@lindenlab.com> | 2010-11-19 12:09:18 -0800 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2010-11-19 12:09:18 -0800 |
commit | b6edd74775e07ce392b0a1785cfc61338c890dad (patch) | |
tree | c01e3111d3016e5f6e5453f88d8e5aa30c7ced19 /indra/llcommon/llfile.cpp | |
parent | 1139584b026db86fd20364d0eb21b6e2351f8fb1 (diff) | |
parent | 8d21105a8c2b6bff98b4f3b91a614a4710d4b7ea (diff) |
Merged latest lindenlab/viewer-development with mani_linden/viewer-development for bacground updater work.
Diffstat (limited to 'indra/llcommon/llfile.cpp')
-rw-r--r-- | indra/llcommon/llfile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/llfile.cpp b/indra/llcommon/llfile.cpp index 289ce0bc2c..8f02391e75 100644 --- a/indra/llcommon/llfile.cpp +++ b/indra/llcommon/llfile.cpp @@ -318,7 +318,12 @@ void llofstream::close() if(is_open()) { if (_Filebuffer->close() == 0) + { _Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/ + } + delete _Filebuffer; + _Filebuffer = NULL; + _ShouldClose = false; } } |