From a66b29e3707819953a53f0458c2dc12dbedd4790 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Fri, 4 Jun 2004 12:01:17 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3501 --- checkin_notes | 6 ++++++ lib/util.C | 1 + sched/start | 5 +++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 0ea2a44105..0d7ebebfde 100755 --- a/checkin_notes +++ b/checkin_notes @@ -12995,3 +12995,9 @@ Daniel June 3 2004 cs_files.C pers_file_xfer.C +Karl 2004-04-04 + - start: fixed bug where Python 2.3.3 writes 'True' instead of '1' to + run_state.xml + + sched/ + start diff --git a/lib/util.C b/lib/util.C index 0e32f99301..828bebe795 100755 --- a/lib/util.C +++ b/lib/util.C @@ -40,6 +40,7 @@ #include using std::min; #endif +#include #include "error_numbers.h" #include "util.h" diff --git a/sched/start b/sched/start index 89c3e4fe57..8351c4b216 100755 --- a/sched/start +++ b/sched/start @@ -464,7 +464,8 @@ def command_enable_start(): print "Staying in ENABLED mode" else: print "Entering ENABLED mode" - run_state.enabled = True + # NOTE: must use '1', not '0' here + run_state.enabled = 1 run_daemons() time.sleep(10) # give feeder time to start up and create shmem remove_stop_sched() @@ -483,7 +484,7 @@ def command_disable_stop(): print "Entering DISABLED mode" else: print "Staying in DISABLED mode" - run_state.enabled = False + run_state.enabled = 0 stop_daemons() write_stop_sched()