commit | 4a6d39bb58751016c6a12b1d5e16e26f1c48ec87 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Tue Dec 17 18:33:01 2002 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Tue Dec 17 18:33:01 2002 +0000 |
tree | 5f2b5142bdd8d2fa3d66460df85b7d5c40e5ad43 | |
parent | 3772de37d9447614a470dbfb220fba254ae887f2 [diff] [blame] |
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
diff --git a/xmlIO.c b/xmlIO.c index 8bd9f9c..9607322 100644 --- a/xmlIO.c +++ b/xmlIO.c
@@ -453,7 +453,11 @@ */ 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); } /**