diff --git a/api/reduce_main.C b/api/reduce_main.C index 4d3f8b9bb5..e48b714960 100644 --- a/api/reduce_main.C +++ b/api/reduce_main.C @@ -44,7 +44,6 @@ #endif #endif -//#include "std_fixes.h" #include "boinc_gl.h" #include "gutil.h" #include "reduce.h" diff --git a/checkin_notes b/checkin_notes index 46fe8954f1..7b679e9a7b 100755 --- a/checkin_notes +++ b/checkin_notes @@ -3827,3 +3827,28 @@ Rom 19 Apr 2007 (HEAD) - Tag for 5.9.4 release, all platforms boinc_core_release_5_9_4 +David 20 Apr 2007 + - make_project: add periodic tasks to default config.xml: + dp_dump, update_uotd, update_forum_activities, update_stats, + update_profile_pages + - backend_lib.C: refuse to create a job for which some necessary + parameter (rsc_fpops_est, rsc_fpops_bound, etc.) is missing + - Unix build: don't include std_fixes.h in config.h. + std_fixes.h is (I think) deprecated + - sched_util: default sched log level is MSG_NORMAL + - client: add ".txt" to job log filename + - compile fixes + + configure.ac + api/ + reduce_main.C + client/ + file_names.C + lib/ + str_util.h + sched/ + sample_work_generator.C + sched_msgs.h + tools/ + backend_lib.C + make_project diff --git a/client/file_names.C b/client/file_names.C index bfc5ce19ce..b8f0c03799 100644 --- a/client/file_names.C +++ b/client/file_names.C @@ -91,7 +91,7 @@ void job_log_filename(PROJECT& project, char* buf, int len) { char url[1024]; escape_project_url(project.master_url, url); - snprintf(buf, len, "%s%s", JOB_LOG_BASE, url); + snprintf(buf, len, "%s%s.txt", JOB_LOG_BASE, url); } // Returns the location of a numbered slot directory diff --git a/configure.ac b/configure.ac index 00699df716..778f707f09 100644 --- a/configure.ac +++ b/configure.ac @@ -397,8 +397,6 @@ AH_TOP([ ]) AH_BOTTOM([ -/* include fixes for the most common problems */ -#include "std_fixes.h" /* end double-inclusion protection for config.h */ #endif /* #ifndef BOINC_CONFIG_H */ diff --git a/lib/str_util.h b/lib/str_util.h index f528954839..f01e99af91 100755 --- a/lib/str_util.h +++ b/lib/str_util.h @@ -26,6 +26,7 @@ #include #include #include +#include #define MEGA (1048576.0) #define GIGA (1024.*1048576.0) diff --git a/sched/sample_work_generator.C b/sched/sample_work_generator.C index e842b7f23c..e8fc783b9a 100644 --- a/sched/sample_work_generator.C +++ b/sched/sample_work_generator.C @@ -34,9 +34,9 @@ #include "backend_lib.h" #include "parse.h" -#include "sched_msgs.h" #include "sched_config.h" #include "sched_util.h" +#include "sched_msgs.h" #define CUSHION 100 // maintain at least this many unsent results @@ -113,14 +113,25 @@ void main_loop() { log_messages.printf(SCHED_MSG_LOG::MSG_CRITICAL, "can't make job: %d\n", retval ); + exit(retval); } } } } } -int main() { - int retval; +int main(int argc, char** argv) { + int i, retval; + + for (i=1; i