aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewermacosx.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/llappviewermacosx.cpp
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewermacosx.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/linden/indra/newview/llappviewermacosx.cpp b/linden/indra/newview/llappviewermacosx.cpp
index c128634..96b6b24 100644
--- a/linden/indra/newview/llappviewermacosx.cpp
+++ b/linden/indra/newview/llappviewermacosx.cpp
@@ -47,7 +47,7 @@
47#include "llfloaterworldmap.h" 47#include "llfloaterworldmap.h"
48#include "llurldispatcher.h" 48#include "llurldispatcher.h"
49#include <Carbon/Carbon.h> 49#include <Carbon/Carbon.h>
50 50#include "lldir.h"
51namespace 51namespace
52{ 52{
53 // The command line args stored. 53 // The command line args stored.
@@ -197,12 +197,13 @@ void LLAppViewerMacOSX::handleCrashReporting()
197{ 197{
198 // Macintosh 198 // Macintosh
199 LLString command_str; 199 LLString command_str;
200 command_str = "open crashreporter.app"; 200 command_str += "open crashreporter.app";
201
202 clear_signals();
203 llinfos << "Launching crash reporter using: '" << command_str << "'" << llendl;
201 system(command_str.c_str()); /* Flawfinder: ignore */ 204 system(command_str.c_str()); /* Flawfinder: ignore */
202 205 llinfos << "returned from crash reporter... dying" << llendl;
203 // Sometimes signals don't seem to quit the viewer. 206 _exit(1);
204 // Make sure we exit so as to not totally confuse the user.
205 exit(1);
206} 207}
207 208
208std::string LLAppViewerMacOSX::generateSerialNumber() 209std::string LLAppViewerMacOSX::generateSerialNumber()