diff --git a/checkin_notes b/checkin_notes index 268f873216..dc67b6ddc1 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3125,8 +3125,8 @@ David April 5 2008 parse.h procinfo_unix.C -Charlie April 4 2008 - Mac: Fix new backtrace code for x86_64 Client and project applcations. +Charlie April 7 2008 + Mac: Fix new backtrace code for x86_64 Client and project applications. lib/ mac/ diff --git a/lib/mac/mac_backtrace.C b/lib/mac/mac_backtrace.C index 31e1ad08b2..60db402ee9 100644 --- a/lib/mac/mac_backtrace.C +++ b/lib/mac/mac_backtrace.C @@ -90,7 +90,6 @@ void PrintBacktrace(void) { QCrashReportRef crRef = NULL; char nameBuf[256], pathToThisProcess[1024], pipeBuf[1024]; - int pathLen; const NXArchInfo *localArch; char OSMinorVersion; time_t t; @@ -167,11 +166,6 @@ void PrintBacktrace(void) { } 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() // fails here but the -o option with a path does work. #ifdef __x86_64__