From a4d190418ff3c604b2d30e3008e38f00cfa88032 Mon Sep 17 00:00:00 2001 From: Bruce Allen Date: Sat, 30 Apr 2005 12:05:39 +0000 Subject: [PATCH] Compile fix for upper_case (was broken under gcc/Linux) svn path=/trunk/boinc/; revision=5991 --- apps/upper_case.C | 6 ++++-- checkin_notes | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/apps/upper_case.C b/apps/upper_case.C index 0be1735e17..f7b29762a1 100755 --- a/apps/upper_case.C +++ b/apps/upper_case.C @@ -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 diff --git a/checkin_notes b/checkin_notes index 348cbe5f33..b59091d0f5 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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