*** empty log message ***

svn path=/trunk/boinc/; revision=3209
This commit is contained in:
Rom Walton 2004-04-02 08:07:12 +00:00
parent 74fbc08cb4
commit 1a9e799b78
2 changed files with 9 additions and 2 deletions

View File

@ -179,8 +179,7 @@ int boinc_parse_init_data_file() {
// If in standalone mode, use init files if they're there,
// but don't demand that they exist
//
f = boinc_fopen(INIT_DATA_FILE, "r");
if (!f) {
if (!boinc_file_exists(INIT_DATA_FILE)) {
if (standalone) {
safe_strncpy(aid.app_preferences, "", sizeof(aid.app_preferences));
safe_strncpy(aid.user_name, "Unknown user", sizeof(aid.user_name));
@ -199,6 +198,7 @@ int boinc_parse_init_data_file() {
return ERR_FOPEN;
}
} else {
f = boinc_fopen(INIT_DATA_FILE, "r");
retval = parse_init_data_file(f, aid);
fclose(f);
if (retval) {

View File

@ -11259,3 +11259,10 @@ David April 1 2004
api/
windows_opengl.C
Rom April 1 2004
- Found another place that should have been using boinc_file_exist.
NOTE: Still hasn't fixed the performance issue(s) on my machine though.
api/
boinc_api.c