Fix the path to launch the crashreporter on mac, which luser broke a couple days ago. Early checkin from bug 358082
git-svn-id: svn://10.0.0.236/trunk@230866 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1937914ed7
commit
97063d7638
@ -131,6 +131,8 @@ bool MinidumpCallback(const XP_CHAR* dump_path,
|
||||
#endif
|
||||
bool succeeded)
|
||||
{
|
||||
printf("Wrote minidump ID %s\n", minidump_id);
|
||||
|
||||
XP_CHAR minidumpPath[XP_PATH_MAX];
|
||||
int size = XP_PATH_MAX;
|
||||
XP_CHAR* p = Concat(minidumpPath, dump_path, &size);
|
||||
@ -249,6 +251,12 @@ nsresult SetExceptionHandler(nsILocalFile* aXREDirectory,
|
||||
rv = aXREDirectory->Clone(getter_AddRefs(exePath));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
exePath->Append(NS_LITERAL_STRING("crashreporter.app"));
|
||||
exePath->Append(NS_LITERAL_STRING("Contents"));
|
||||
exePath->Append(NS_LITERAL_STRING("MacOS"));
|
||||
#endif
|
||||
|
||||
exePath->Append(NS_LITERAL_STRING(CRASH_REPORTER_FILENAME));
|
||||
|
||||
nsString crashReporterPath_temp;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user