From 4031091deb347218bd6a618c54746de76ef563a2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 8 Jan 2005 06:38:21 +0000 Subject: [PATCH] replace bad filename hashing function svn path=/trunk/boinc/; revision=5028 --- checkin_notes | 6 ++++++ sched/validate_util.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index a3898a0b81..32f54814cb 100755 --- a/checkin_notes +++ b/checkin_notes @@ -22274,3 +22274,9 @@ Rom 7 Jan 2005 client/win/ win_screensaver.cpp + +David 7 Jan 2005 + - off-by-1 error caused trivial validator to not work + + sched/ + validate_util.C diff --git a/sched/validate_util.C b/sched/validate_util.C index 16a1df7859..4f3acb4ad2 100644 --- a/sched/validate_util.C +++ b/sched/validate_util.C @@ -173,7 +173,7 @@ int generic_check_set( matches[j] = true; } } - if (neq > min_valid) { + if (neq >= min_valid) { // set validate state for each result for (j = 0; j != n; ++j) { results[j].validate_state = matches[j] ? VALIDATE_STATE_VALID : VALIDATE_STATE_INVALID;