mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=1955
This commit is contained in:
parent
741a06d6cd
commit
e786880130
|
@ -5515,3 +5515,7 @@ David Aug 1 2003
|
||||||
Karl 2003/08/01
|
Karl 2003/08/01
|
||||||
- increased MAX_APP_VERSIONS from 100 to 500
|
- increased MAX_APP_VERSIONS from 100 to 500
|
||||||
sched/*
|
sched/*
|
||||||
|
|
||||||
|
Karl 2003/08/01
|
||||||
|
- fixed \n s in client messages
|
||||||
|
client/*
|
||||||
|
|
12
client/app.C
12
client/app.C
|
@ -505,7 +505,7 @@ bool ACTIVE_TASK_SET::check_app_exited() {
|
||||||
atp->state = PROCESS_ABORTED;
|
atp->state = PROCESS_ABORTED;
|
||||||
atp->result->active_task_state = PROCESS_ABORTED;
|
atp->result->active_task_state = PROCESS_ABORTED;
|
||||||
gstate.report_result_error(
|
gstate.report_result_error(
|
||||||
*(atp->result), 0, "process was aborted\n"
|
*(atp->result), 0, "process was aborted"
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
atp->state = PROCESS_EXITED;
|
atp->state = PROCESS_EXITED;
|
||||||
|
@ -516,7 +516,7 @@ bool ACTIVE_TASK_SET::check_app_exited() {
|
||||||
if (exit_code) {
|
if (exit_code) {
|
||||||
gstate.report_result_error(
|
gstate.report_result_error(
|
||||||
*(atp->result), 0,
|
*(atp->result), 0,
|
||||||
"process exited with a non zero exit code\n"
|
"process exited with a non zero exit code"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -557,7 +557,7 @@ bool ACTIVE_TASK_SET::check_app_exited() {
|
||||||
atp->state = PROCESS_ABORTED;
|
atp->state = PROCESS_ABORTED;
|
||||||
atp->result->active_task_state = PROCESS_ABORTED;
|
atp->result->active_task_state = PROCESS_ABORTED;
|
||||||
gstate.report_result_error(
|
gstate.report_result_error(
|
||||||
*(atp->result), 0, "process was aborted\n"
|
*(atp->result), 0, "process was aborted"
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
if (WIFEXITED(stat)) {
|
if (WIFEXITED(stat)) {
|
||||||
|
@ -572,7 +572,7 @@ bool ACTIVE_TASK_SET::check_app_exited() {
|
||||||
if(atp->exit_status) {
|
if(atp->exit_status) {
|
||||||
gstate.report_result_error(
|
gstate.report_result_error(
|
||||||
*(atp->result), 0,
|
*(atp->result), 0,
|
||||||
"process exited with a nonzero exit code\n"
|
"process exited with a nonzero exit code"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
scope_messages.printf("ACTIVE_TASK_SET::check_app_exited(): process exited: status %d\n", atp->exit_status);
|
scope_messages.printf("ACTIVE_TASK_SET::check_app_exited(): process exited: status %d\n", atp->exit_status);
|
||||||
|
@ -582,7 +582,7 @@ bool ACTIVE_TASK_SET::check_app_exited() {
|
||||||
atp->result->signal = atp->signal;
|
atp->result->signal = atp->signal;
|
||||||
atp->result->active_task_state = PROCESS_WAS_SIGNALED;
|
atp->result->active_task_state = PROCESS_WAS_SIGNALED;
|
||||||
gstate.report_result_error(
|
gstate.report_result_error(
|
||||||
*(atp->result), 0, "process was signaled\n"
|
*(atp->result), 0, "process was signaled"
|
||||||
);
|
);
|
||||||
scope_messages.printf("ACTIVE_TASK_SET::check_app_exited(): process was signaled: %d\n", atp->signal);
|
scope_messages.printf("ACTIVE_TASK_SET::check_app_exited(): process was signaled: %d\n", atp->signal);
|
||||||
} else {
|
} else {
|
||||||
|
@ -914,7 +914,7 @@ int ACTIVE_TASK_SET::restart_tasks() {
|
||||||
atp->result->active_task_state = PROCESS_COULDNT_START;
|
atp->result->active_task_state = PROCESS_COULDNT_START;
|
||||||
gstate.report_result_error(
|
gstate.report_result_error(
|
||||||
*(atp->result), retval,
|
*(atp->result), retval,
|
||||||
"Couldn't restart the app for this result.\n"
|
"Couldn't restart the app for this result."
|
||||||
);
|
);
|
||||||
active_tasks.erase(iter);
|
active_tasks.erase(iter);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1581,7 +1581,7 @@ int CLIENT_STATE::report_result_error(
|
||||||
|
|
||||||
sprintf(
|
sprintf(
|
||||||
buf,
|
buf,
|
||||||
"<message>%s</message>\n"
|
"<message>%s\n</message>\n"
|
||||||
"<active_task_state>%d</active_task_state>\n"
|
"<active_task_state>%d</active_task_state>\n"
|
||||||
"<exit_status>%d</exit_status>\n"
|
"<exit_status>%d</exit_status>\n"
|
||||||
"<signal>%d</signal>\n",
|
"<signal>%d</signal>\n",
|
||||||
|
|
|
@ -249,7 +249,7 @@ bool CLIENT_STATE::start_apps() {
|
||||||
atp->result->active_task_state = PROCESS_COULDNT_START;
|
atp->result->active_task_state = PROCESS_COULDNT_START;
|
||||||
report_result_error(
|
report_result_error(
|
||||||
*(atp->result), retval,
|
*(atp->result), retval,
|
||||||
"Couldn't start the app for this result.\n"
|
"Couldn't start the app for this result."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
action = true;
|
action = true;
|
||||||
|
|
Loading…
Reference in New Issue