mirror of
https://github.com/GNOME/libxml2.git
synced 2025-03-19 18:50:25 +08:00
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:
parent
3772de37d9
commit
4a6d39bb58
@ -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.
|
||||
|
6
xmlIO.c
6
xmlIO.c
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user