*** empty log message ***

svn path=/trunk/boinc/; revision=11496
This commit is contained in:
David Anderson 2006-11-08 15:38:06 +00:00
parent a2bedc5aea
commit e3f6ea7e91
2 changed files with 10 additions and 1 deletions

View File

@ -12411,3 +12411,10 @@ David 7 Nov 2006
cs_scheduler.C
lib/
miofile.C
David 8 Nov 2006
- core client: change XML parser to handle tags of the form <foo />,
treating it as <foo/> (i.e. skip the space)
lib/
parse.C

View File

@ -437,14 +437,16 @@ bool XML_PARSER::scan_nonws(int& first_char) {
}
// we just read a <; read until we find a >,
// and copy intervening text to buf.
// and copy intervening text (except spaces) to buf.
// Return true iff reached EOF
// TODO: parse attributes too
//
bool XML_PARSER::scan_tag(char* buf, int len) {
int c;
while (1) {
c = f->_getc();
if (c == EOF) return true;
if (isspace(c)) continue;
if (c == '>') {
*buf = 0;
return false;