*** empty log message ***

svn path=/trunk/boinc/; revision=6697
This commit is contained in:
David Anderson 2005-07-20 10:26:47 +00:00
parent 40a2b37783
commit 41788e7e8d
3 changed files with 7 additions and 2 deletions

View File

@ -9290,6 +9290,11 @@ David 20 July 2005
David 20 July 2005
- commented out some test code from upper_case.C
This seemed to break test_uc.py
- compile fix in zip
apps/
upper_case.C
lib/
parse.C
zip/
boinc_zip.cpp

View File

@ -131,7 +131,7 @@ void parse_attr(const char* buf, const char* name, char* dest, int len) {
char* p, *q;
strcpy(dest, "");
p = strstr((char*)buf, name);
p = strstr(buf, name);
if (!p) return;
p = strchr(p, '"');
if (!p) return;

View File

@ -220,7 +220,7 @@ bool boinc_filelist(const std::string directory,
// / is safe on all OS's for CPDN at least
// but if they already used \ use that
// well they didn't use a backslash so just use a slash
if (strUserDir.find("\\") == -1)
if (strUserDir.find("\\") == string::npos)
strUserDir += "/";
else
strUserDir += "\\";