mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=6697
This commit is contained in:
parent
40a2b37783
commit
41788e7e8d
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 += "\\";
|
||||
|
|
Loading…
Reference in New Issue