applied a patch for VMS following the report by Nigel Hall Daniel

* xmlIO.c: applied a patch for VMS following the report by Nigel Hall
Daniel
This commit is contained in:
Daniel Veillard 2002-12-17 18:33:01 +00:00
parent 3772de37d9
commit 4a6d39bb58
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Dec 17 19:31:07 CET 2002 Daniel Veillard <daniel@veillard.com>
* xmlIO.c: applied a patch for VMS following the report by
Nigel Hall
Tue Dec 17 11:29:41 CET 2002 Daniel Veillard <daniel@veillard.com>
* parser.c: the parseStartTag bug fix wasn't complete.

View File

@ -453,7 +453,11 @@ xmlFileRead (void * context, char * buffer, int len) {
*/
static int
xmlFileWrite (void * context, const char * buffer, int len) {
return(fwrite(&buffer[0], 1, len, (FILE *) context));
int items;
items = fwrite(&buffer[0], len, 1, (FILE *) context);
return(items * len);
}
/**