From df5d595c3a03496d29c9e1af3adb0fe13ee380df Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 27 Dec 2011 02:29:51 +0000 Subject: [PATCH] - scheduler, vbox plan class function: send only 32/64 bit version to 32/64 bit host svn path=/trunk/boinc/; revision=24916 --- checkin_notes | 7 +++++++ sched/sched_customize.cpp | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 832228f9bf..bf00e5a8ff 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9599,3 +9599,10 @@ Rom 26 Dec 2011 samples/vboxwrapper/ vbox.cpp vboxwrapper.cpp + +David 26 Dec 2011 + - scheduler, vbox plan class function: + send only 32/64 bit version to 32/64 bit host + + sched/ + sched_customize.cpp diff --git a/sched/sched_customize.cpp b/sched/sched_customize.cpp index 94b273cd40..bdcd08cedf 100644 --- a/sched/sched_customize.cpp +++ b/sched/sched_customize.cpp @@ -540,8 +540,10 @@ static inline bool app_plan_vbox( // it will look in the 32-bit half of the registry and fail // PLATFORM* p = g_request->platforms.list[0]; - if (strstr(plan_class, "64") && !is_64b_platform(p->name)) { - return false; + if (is_64b_platform(p->name)) { + if (!strstr(plan_class, "64")) return false; + } else { + if (strstr(plan_class, "64")) return false; } if (strstr(plan_class, "mt")) {