mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03: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:
@ -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>
|
Tue Dec 17 11:29:41 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* parser.c: the parseStartTag bug fix wasn't complete.
|
* 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
|
static int
|
||||||
xmlFileWrite (void * context, const char * buffer, int len) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user