diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-21 07:23:48 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-21 07:23:48 -0500 |
commit | bb3be2c07f492577254ae9ace5675eb92d10f061 (patch) | |
tree | 038a59de9284c528bf5c51d1dab851f23ecbc444 /indra/llcommon/llfile.cpp | |
parent | e3e1d9b4c3446ea87d1938d1cb0c4a5a9e5d448d (diff) | |
parent | bca2b9a053b1358435b57e0c7a59866702644844 (diff) |
merge changes for storm-715
Diffstat (limited to 'indra/llcommon/llfile.cpp')
-rw-r--r-- | indra/llcommon/llfile.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llcommon/llfile.cpp b/indra/llcommon/llfile.cpp index 8f02391e75..c32a776c3f 100644 --- a/indra/llcommon/llfile.cpp +++ b/indra/llcommon/llfile.cpp @@ -92,6 +92,17 @@ LLFILE* LLFile::_fsopen(const std::string& filename, const char* mode, int shari #endif } +int LLFile::close(LLFILE * file) +{ + int ret_value = 0; + if (file) + { + ret_value = fclose(file); + } + return ret_value; +} + + int LLFile::remove(const std::string& filename) { #if LL_WINDOWS |