diff options
author | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
commit | 8465910c79b8e746e04fd581cca2d60399e569b9 (patch) | |
tree | f43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/llvfs | |
parent | Second Life viewer sources 1.18.2.1 (diff) | |
download | meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2 meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz |
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to 'linden/indra/llvfs')
-rw-r--r-- | linden/indra/llvfs/lldir_mac.cpp | 6 | ||||
-rw-r--r-- | linden/indra/llvfs/llvfs.cpp | 4 |
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 | ||