Compile fix for upper_case (was broken under gcc/Linux)

svn path=/trunk/boinc/; revision=5991
This commit is contained in:
Bruce Allen 2005-04-30 12:05:39 +00:00
parent 1de42d1500
commit a4d190418f
2 changed files with 9 additions and 2 deletions

View File

@ -214,12 +214,14 @@ int main(int argc, char **argv) {
#ifdef TEST_INT_UPLOAD
if (nchars == fsize/2) {
string tmpname=UPLOAD_FILE_NAME;
retval = write_upload_file();
fprintf(stderr, "write_upload_file() %d\n", retval);
retval = boinc_upload_file(std::string(UPLOAD_FILE_NAME));
retval = boinc_upload_file(tmpname);
fprintf(stderr, "boinc_upload_file() %d\n", retval);
} else if (nchars >= fsize/2) {
retval = boinc_upload_status(std::string(UPLOAD_FILE_NAME));
string tmpname=UPLOAD_FILE_NAME;
retval = boinc_upload_status(tmpname);
fprintf(stderr, "upload status %d\n", retval);
}
#endif

View File

@ -5920,4 +5920,9 @@ Janus 30 April 2005
rate_positive.png (new)
rate_negative.png (new)
Bruce 30 April 2005
- Compile fix for upper_case (was broken under gcc/Linux)
apps/
upper_case.C