*** empty log message ***

svn path=/trunk/boinc/; revision=4176
This commit is contained in:
Jeff Cobb 2004-09-10 00:09:41 +00:00
parent 46385bdae7
commit 424c45c6e5
1 changed files with 1 additions and 0 deletions

View File

@ -781,6 +781,7 @@ int try_fopen(char* path, FILE*& f, char* mode) {
f = fopen(path, mode);
if (!f) {
memset(dirpath, '\0', sizeof(dirpath));
p = strrchr(path, '/');
if (p) {
strncpy(dirpath, path, (int)(p-path));