mirror of https://github.com/BOINC/boinc.git
Mac: Fix new backtrace code for x86_64 Client and project applications
svn path=/trunk/boinc/; revision=15023
This commit is contained in:
parent
89538db7c4
commit
e949c3cd41
|
@ -3125,8 +3125,8 @@ David April 5 2008
|
||||||
parse.h
|
parse.h
|
||||||
procinfo_unix.C
|
procinfo_unix.C
|
||||||
|
|
||||||
Charlie April 4 2008
|
Charlie April 7 2008
|
||||||
Mac: Fix new backtrace code for x86_64 Client and project applcations.
|
Mac: Fix new backtrace code for x86_64 Client and project applications.
|
||||||
|
|
||||||
lib/
|
lib/
|
||||||
mac/
|
mac/
|
||||||
|
|
|
@ -90,7 +90,6 @@ void PrintBacktrace(void) {
|
||||||
QCrashReportRef crRef = NULL;
|
QCrashReportRef crRef = NULL;
|
||||||
|
|
||||||
char nameBuf[256], pathToThisProcess[1024], pipeBuf[1024];
|
char nameBuf[256], pathToThisProcess[1024], pipeBuf[1024];
|
||||||
int pathLen;
|
|
||||||
const NXArchInfo *localArch;
|
const NXArchInfo *localArch;
|
||||||
char OSMinorVersion;
|
char OSMinorVersion;
|
||||||
time_t t;
|
time_t t;
|
||||||
|
@ -167,11 +166,6 @@ void PrintBacktrace(void) {
|
||||||
}
|
}
|
||||||
setenv("NSUnbufferedIO", "YES", 1);
|
setenv("NSUnbufferedIO", "YES", 1);
|
||||||
|
|
||||||
// pathLen = readlink(pathToThisProcess, pathToThisProcess, sizeof(pathToThisProcess));
|
|
||||||
// if (pathLen >= 0) { // readlink() returns -1 if not a aymbolic link
|
|
||||||
// pathToThisProcess[pathLen] = '\0';
|
|
||||||
// }
|
|
||||||
|
|
||||||
// For some reason, using the -p option with the value from getpid()
|
// For some reason, using the -p option with the value from getpid()
|
||||||
// fails here but the -o option with a path does work.
|
// fails here but the -o option with a path does work.
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
|
|
Loading…
Reference in New Issue