From fcaeeffa1dece7c026d5866dac14dbcb5ec16570 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Mon, 3 Nov 2003 03:18:13 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2618 --- checkin_notes | 2 +- lib/app_ipc.C | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/checkin_notes b/checkin_notes index bea9d10cd1..da6bae5d95 100755 --- a/checkin_notes +++ b/checkin_notes @@ -7210,7 +7210,7 @@ David 28 Oct 2003 Karl 2003-10-29 - removed test_sanity check from configure - - updated some distribution file list + - updated distribution file lists - updated installation program to get rid of country_select configure.ac */Makefile.am diff --git a/lib/app_ipc.C b/lib/app_ipc.C index 0cfdf3036f..37734da480 100755 --- a/lib/app_ipc.C +++ b/lib/app_ipc.C @@ -293,10 +293,8 @@ int boinc_resolve_filename(const char *virtual_name, string& physical_name) { physical_name = virtual_name; // Open the file and load the first line FILE *fp = fopen(virtual_name, "r"); - if (!fp) { - physical_name = virtual_name; - return 1; - } + if (!fp) return 1; + char buf[512]; fgets(buf, 512, fp); fclose(fp);