aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llvfs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llvfs/lldir_mac.cpp6
-rw-r--r--linden/indra/llvfs/llvfs.cpp4
2 files changed, 3 insertions, 7 deletions
diff --git a/linden/indra/llvfs/lldir_mac.cpp b/linden/indra/llvfs/lldir_mac.cpp
index d257ce0..db6e20d 100644
--- a/linden/indra/llvfs/lldir_mac.cpp
+++ b/linden/indra/llvfs/lldir_mac.cpp
@@ -176,11 +176,7 @@ LLDir_Mac::LLDir_Mac()
176 FSRefToLLString(&tempRef, mTempDir); 176 FSRefToLLString(&tempRef, mTempDir);
177 } 177 }
178 178
179 // Set the working dir to <bundle>/Contents/Resources 179 mWorkingDir = getCurPath();
180 (void) chdir(mAppRODataDir.c_str());
181
182 // Canonically, since we set it here...
183 mWorkingDir = mAppRODataDir;
184 180
185 CFRelease(executableURLRef); 181 CFRelease(executableURLRef);
186 executableURLRef = NULL; 182 executableURLRef = NULL;
diff --git a/linden/indra/llvfs/llvfs.cpp b/linden/indra/llvfs/llvfs.cpp
index a05d1b9..89db67b 100644
--- a/linden/indra/llvfs/llvfs.cpp
+++ b/linden/indra/llvfs/llvfs.cpp
@@ -892,11 +892,11 @@ BOOL LLVFS::setMaxSize(const LLUUID &file_id, const LLAssetType::EType file_type
892 { 892 {
893 llwarns << "Short write" << llendl; 893 llwarns << "Short write" << llendl;
894 } 894 }
895
896 delete[] buffer;
897 } else { 895 } else {
898 llwarns << "Short read" << llendl; 896 llwarns << "Short read" << llendl;
899 } 897 }
898
899 delete[] buffer;
900 } 900 }
901 } 901 }
902 902