diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-02-10 15:43:53 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-02-10 15:43:53 +0000 |
commit | 809faa5237ef2c1d05600e2e25f71f251cf98530 (patch) | |
tree | a2401b776308b29b55a89df91f06d25a11d985dd /xmlIO.c | |
parent | 1703c5fc238e76532f654747259a20a29c769942 (diff) | |
download | android_external_libxml2-809faa5237ef2c1d05600e2e25f71f251cf98530.tar.gz android_external_libxml2-809faa5237ef2c1d05600e2e25f71f251cf98530.tar.bz2 android_external_libxml2-809faa5237ef2c1d05600e2e25f71f251cf98530.zip |
fixing bug #104646 about iconv based encoding conversion when the input
* encoding.c xmlIO.c: fixing bug #104646 about iconv based
encoding conversion when the input buffer stops in the
middle of a multibyte char
Daniel
Diffstat (limited to 'xmlIO.c')
-rw-r--r-- | xmlIO.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2364,7 +2364,7 @@ xmlOutputBufferWrite(xmlOutputBufferPtr out, int len, const char *buf) { * convert as much as possible to the parser reading buffer. */ ret = xmlCharEncOutFunc(out->encoder, out->conv, out->buffer); - if (ret < 0) { + if ((ret < 0) && (ret != -3)) { xmlGenericError(xmlGenericErrorContext, "xmlOutputBufferWrite: encoder error\n"); return(-1); |