From e9c5bfe7a8f58b2368ae2b5fe7c0b5f5262b503b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 13 Sep 2011 21:21:40 +0000 Subject: [PATCH] - wrapper: don't delete task-level checkpoint file when starting task; that defeats the purpose. From Uwe Becker. svn path=/trunk/boinc/; revision=24183 --- checkin_notes | 7 +++++++ samples/wrapper/wrapper.cpp | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index cc7531d618..4b24e7a616 100644 --- a/checkin_notes +++ b/checkin_notes @@ -5929,3 +5929,10 @@ David 13 Sept 2011 trickle_echo.cpp validate_util2.cpp validator.cpp + +David 13 Sept 2011 + - wrapper: don't delete task-level checkpoint file when starting task; + that defeats the purpose. From Uwe Becker. + + samples/wrapper/ + wrapper.cpp diff --git a/samples/wrapper/wrapper.cpp b/samples/wrapper/wrapper.cpp index 1503b97a79..020020012a 100644 --- a/samples/wrapper/wrapper.cpp +++ b/samples/wrapper/wrapper.cpp @@ -379,9 +379,6 @@ int TASK::run(int argct, char** argvt) { string stdout_path, stdin_path, stderr_path; char app_path[1024], buf[256]; - if (checkpoint_filename.size()) { - boinc_delete_file(checkpoint_filename.c_str()); - } if (fraction_done_filename.size()) { boinc_delete_file(fraction_done_filename.c_str()); }