aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcrashlogger/llcrashlogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcrashlogger/llcrashlogger.cpp')
-rwxr-xr-xlinden/indra/llcrashlogger/llcrashlogger.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/llcrashlogger/llcrashlogger.cpp b/linden/indra/llcrashlogger/llcrashlogger.cpp
index 13f804a..d25be55 100755
--- a/linden/indra/llcrashlogger/llcrashlogger.cpp
+++ b/linden/indra/llcrashlogger/llcrashlogger.cpp
@@ -17,7 +17,8 @@
17* There are special exceptions to the terms and conditions of the GPL as 17* There are special exceptions to the terms and conditions of the GPL as
18* it is applied to this Source Code. View the full text of the exception 18* it is applied to this Source Code. View the full text of the exception
19* in the file doc/FLOSS-exception.txt in this software distribution, or 19* in the file doc/FLOSS-exception.txt in this software distribution, or
20* online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 20* online at
21* http://secondlifegrid.net/programs/open_source/licensing/flossexception
21* 22*
22* By copying, modifying or distributing this software, you acknowledge 23* By copying, modifying or distributing this software, you acknowledge
23* that you have read and understood your obligations described above, 24* that you have read and understood your obligations described above,
@@ -206,7 +207,10 @@ void LLCrashLogger::gatherFiles()
206 mFileMap["SettingsXml"] = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,"settings.xml"); 207 mFileMap["SettingsXml"] = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,"settings.xml");
207 } 208 }
208 209
210#if !LL_DARWIN
209 if(mCrashInPreviousExec) 211 if(mCrashInPreviousExec)
212#else
213#endif
210 { 214 {
211 // Replace the log file ext with .old, since the 215 // Replace the log file ext with .old, since the
212 // instance that launched this process has overwritten 216 // instance that launched this process has overwritten
@@ -391,7 +395,7 @@ bool LLCrashLogger::init()
391 if( gDirUtilp ) 395 if( gDirUtilp )
392 { 396 {
393 std::string marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"Imprudence.exec_marker"); 397 std::string marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"Imprudence.exec_marker");
394 ll_apr_file_remove( marker_file ); 398 LLAPRFile::remove( marker_file );
395 } 399 }
396 400
397 return true; 401 return true;