*** empty log message ***

svn path=/trunk/boinc/; revision=5380
This commit is contained in:
David Anderson 2005-02-09 23:49:46 +00:00
parent 8e1ca3866b
commit 36ed6019c2
3 changed files with 19 additions and 3 deletions

View File

@ -24417,3 +24417,17 @@ Rom 9 Feb 2005
clientgui/
ViewWork.cpp
David 9 Feb 2005
- scheduler changes to get the FCGI version to compile.
Problem: the FCGI library inexplicably doesn't provide
a version of fscanf().
Some of Bruce's recent additions
(timezone-dependent URL, MD5 caching) use fscanf().
I commented them out with the _USING_FCGI_ symbol.
This shouldn't affect anyone since E@h doesn't use FCGI.
sched/
sched_send.C
tools/
backend_lib.C

View File

@ -333,6 +333,7 @@ URLTYPE* read_download_list() {
if (cached) return cached;
#ifndef _USING_FCGI_
if (!(fp=fopen("../download_servers", "r"))) {
log_messages.printf(
SCHED_MSG_LOG::CRITICAL,
@ -385,6 +386,7 @@ URLTYPE* read_download_list() {
SCHED_MSG_LOG::DEBUG, "zone=%d name=%s\n", cached[i].zone, cached[i].name
);
}
#endif
return cached;
}

View File

@ -69,7 +69,8 @@ static bool got_md5_info(
char *md5data,
double *nbytes
) {
bool retval=false;
#ifndef _USING_FCGI_
// look for file named FILENAME.md5 containing md5sum and length.
// If found, and newer mod time than file, read md5 sum and file
// length from it.
@ -77,7 +78,6 @@ static bool got_md5_info(
FILE *fp;
char md5name[512];
struct stat md5stat, filestat;
bool retval=false;
char endline='\0';
sprintf(md5name, "%s.md5", path);
@ -110,7 +110,7 @@ static bool got_md5_info(
unlink(md5name);
retval=false;
}
#endif
return retval;
}