diff options
author | leyla_linden <none@none> | 2011-01-19 11:39:25 -0800 |
---|---|---|
committer | leyla_linden <none@none> | 2011-01-19 11:39:25 -0800 |
commit | 17068766b75fbe7dac968705f4f383fb61f73eb4 (patch) | |
tree | 9a6923653b721311b61edac947b2e7682972cce3 /indra/llcommon/llfile.cpp | |
parent | ca1c1eea78ff2ab83979a4308dd5a93ea0032fc8 (diff) | |
parent | eec6071766e6fef7015610b002a9bcb09ce36836 (diff) |
Merge
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 |