commit | 83a75e05b07fee8521eac11568daae4aea00b9fa | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Fri May 14 21:50:42 2004 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Fri May 14 21:50:42 2004 +0000 |
tree | d90967ef4807f6fefb5f362f42a93878ce26637f | |
parent | f8f2e8f6d9e04ad04a21f73cb5f5f392a95f1490 [diff] [blame] |
third pass at the escaping refactoring. Daniel * xmlIO.c xmlsave.c: third pass at the escaping refactoring. Daniel
diff --git a/xmlIO.c b/xmlIO.c index efc991d..2f9874f 100644 --- a/xmlIO.c +++ b/xmlIO.c
@@ -3029,6 +3029,8 @@ return(ret); } out->written += ret; + } else if (out->buffer->size - out->buffer->use < MINLEN) { + xmlBufferResize(out->buffer, out->buffer->size + MINLEN); } written += nbchars; } while (len > 0);