summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2006-06-08 22:38:16 +0200
committerMike Hommey <glandium@debian.org>2006-06-08 22:38:16 +0200
commitef381f99921ea9fe00a07836b93f2a2bf865ca17 (patch)
tree62ec8494b6ba15713636b2731dd2f39cda762bc6 /encoding.c
parent6b7b7b4a4490d2cde163e9d5fe7c04ce540022b0 (diff)
parenta7e9d3f37d5e9fba4b9acaa43e7c12b6d9a669ae (diff)
downloadlibxml2-debian/2.6.26.dfsg-1.tar.gz
* New upstream release.debian/2.6.26.dfsg-1
* debian/rules: + Added -fno-strict-aliasing to the CFLAGS. + Use dpkg-architecture to feed configure. + Bumped shlibs to current version, since new symbol for XPath cache has been added. * debian/control: Bumped Standards-Version to 3.7.2.0. No changes required.
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c
index dc1c205..6dee212 100644
--- a/encoding.c
+++ b/encoding.c
@@ -2083,7 +2083,8 @@ retry:
xmlEncodingErr(XML_I18N_CONV_FAILED,
"output conversion failed due to conv error, bytes %s\n",
buf);
- in->content[0] = ' ';
+ if (in->alloc != XML_BUFFER_ALLOC_IMMUTABLE)
+ in->content[0] = ' ';
}
break;
}