%s\n", urls[i].text);
@@ -746,8 +753,10 @@ int FILE_INFO::write(MIOFILE& out, bool to_server) {
out.printf(" \n%s\n", error_msg.c_str());
}
out.printf("\n");
+#if 0
if (to_server)
- update_time();
+ update_time(); // huh??
+#endif
return 0;
}
@@ -855,6 +864,7 @@ int FILE_INFO::merge_info(FILE_INFO& new_info) {
upload_when_present = new_info.upload_when_present;
+#if 0
if (new_info.priority > priority) {
priority = new_info.priority;
}
@@ -862,6 +872,7 @@ int FILE_INFO::merge_info(FILE_INFO& new_info) {
if (new_info.exp_date > exp_date) {
exp_date = new_info.exp_date;
}
+#endif
if (max_nbytes <= 0 && new_info.max_nbytes) {
max_nbytes = new_info.max_nbytes;
sprintf(buf, " %.0f\n", new_info.max_nbytes);
@@ -893,11 +904,13 @@ bool FILE_INFO::had_failure(int& failnum) {
return false;
}
+#if 0
// Sets the time_last_used to be equal to the current time
int FILE_INFO::update_time() {
time_last_used = time(0);
return 0;
}
+#endif
// Parse XML based app_version information, usually from client_state.xml
//
@@ -1318,10 +1331,14 @@ void RESULT::reset_files() {
if (fip->upload_when_present) {
fip->uploaded = false;
}
+#if 0
fip->update_time();
+#endif
}
for (i=0; i < wup->input_files.size(); i++) {
fip = wup->input_files[i].file_info;
+#if 0
fip->update_time();
+#endif
}
}
diff --git a/client/client_types.h b/client/client_types.h
index 112644a823..a3b2127383 100644
--- a/client/client_types.h
+++ b/client/client_types.h
@@ -84,9 +84,11 @@ public:
char file_signature[MAX_BLOB_LEN];
// if the file itself is signed (for executable files)
// this is the signature
+#if 0
int priority;
time_t time_last_used; // time of last use of FILE_INFO, update during parsing, writing, or application usage
time_t exp_date;
+#endif
std::string error_msg; // if permanent error occurs during file xfer,
// it's recorded here
diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C
index 8cf84e951d..51aa67f4cc 100644
--- a/client/cs_scheduler.C
+++ b/client/cs_scheduler.C
@@ -529,7 +529,7 @@ int CLIENT_STATE::handle_scheduler_reply(
if (sr.user_expavg_credit >= 0) {
project->user_expavg_credit = sr.user_expavg_credit;
}
- if (sr.user_create_time >= 0) {
+ if (sr.user_create_time > 0) {
project->user_create_time = sr.user_create_time;
}
if (sr.host_total_credit >= 0) {
diff --git a/client/scheduler_op.C b/client/scheduler_op.C
index 13d47b2c94..d6969def04 100644
--- a/client/scheduler_op.C
+++ b/client/scheduler_op.C
@@ -567,7 +567,7 @@ int SCHEDULER_REPLY::parse(FILE* in, PROJECT* project) {
hostid = 0;
host_total_credit = -1;
host_expavg_credit = -1;
- host_create_time = -1;
+ host_create_time = 0;
request_delay = 0;
strcpy(message, "");
strcpy(message_priority, "");
@@ -579,7 +579,7 @@ int SCHEDULER_REPLY::parse(FILE* in, PROJECT* project) {
user_total_credit = -1;
user_expavg_credit = -1;
strcpy(host_venue, "");
- user_create_time = -1;
+ user_create_time = 0;
code_sign_key = 0;
code_sign_key_signature = 0;
message_ack = false;
diff --git a/doc/intro.php b/doc/intro.php
index 9334b059d6..3fa71864f5 100644
--- a/doc/intro.php
+++ b/doc/intro.php
@@ -8,7 +8,8 @@ using volunteer computer resources.
A paper about BOINC's design goals is here:
HTML |
-PDF.
+PDF |
+HTML German.
The BOINC's features fall into several areas:
diff --git a/sched/server_types.C b/sched/server_types.C
index d93913f878..694c61bb99 100644
--- a/sched/server_types.C
+++ b/sched/server_types.C
@@ -255,7 +255,7 @@ int SCHEDULER_REPLY::write(FILE* fout) {
host.venue,
host.create_time
);
- );
+ }
// might want to send team credit too.
//