From d2c225247980291a0ce816ef6cf98505ab289c92 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 18 Feb 2012 00:46:42 +0000 Subject: [PATCH] Mac: Fix back trace to work under OS > 10.5 svn path=/trunk/boinc/; revision=25286 --- checkin_notes | 8 ++++++++ lib/mac/mac_backtrace.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 342733fb31..25f0136507 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1851,3 +1851,11 @@ David 17 Feb 2012 vda/ Makefile.am new makefile (renamed to makefile_orig) + +Charlie 17 Feb 2012 + - Mac: Fix back trace to work under OS > 10.5. + (Checked in to boinc_core_release_7_0_16 tag) + + lib/ + mac/ + mac_backtrace.cpp diff --git a/lib/mac/mac_backtrace.cpp b/lib/mac/mac_backtrace.cpp index de6850d692..31b692b525 100644 --- a/lib/mac/mac_backtrace.cpp +++ b/lib/mac/mac_backtrace.cpp @@ -156,7 +156,7 @@ void PrintBacktrace(void) { err = QCRCreateFromSelf(&crRef); - if (OSMinorVersion == '5') { + if (OSMinorVersion >= '5') { #ifdef __ppc__ fputs("BOINC backtrace under OS 10.5.x only shows exported (global) symbols\n", stderr); fputs("and may work poorly on a PowerPC Mac after a crash. For a better\n", stderr);