diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2010-04-06 22:44:40 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2010-04-06 22:44:40 +0000 |
commit | 51ceb118c68d6803229a1a1b36db2837184863f2 (patch) | |
tree | 783494f55534ba9cb5512b18ad90833e53e56b0e /dev-libs/libxml2/files | |
parent | Bump to EAPI 2, respect LDFLAGS (bug 209735). Take over maintainership. (diff) | |
download | gentoo-2-51ceb118c68d6803229a1a1b36db2837184863f2.tar.gz gentoo-2-51ceb118c68d6803229a1a1b36db2837184863f2.tar.bz2 gentoo-2-51ceb118c68d6803229a1a1b36db2837184863f2.zip |
Enable multiple python ABI support, bug #312193. Clean up old revision.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libxml2/files')
-rw-r--r-- | dev-libs/libxml2/files/libxml2-2.7.4-parser-grow.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dev-libs/libxml2/files/libxml2-2.7.4-parser-grow.patch b/dev-libs/libxml2/files/libxml2-2.7.4-parser-grow.patch deleted file mode 100644 index 8784a83ec459..000000000000 --- a/dev-libs/libxml2/files/libxml2-2.7.4-parser-grow.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9d3d141c412baa5c713ad3df48f1a4d179e07b05 Mon Sep 17 00:00:00 2001 -From: Daniel Veillard <veillard@redhat.com> -Date: Tue, 15 Sep 2009 16:41:30 +0000 -Subject: Fix a parsing problem with little data at startup - -* parser.c: inkscape extension loader (and possibly others) feed - data to the parser very slowly, 0 at start, 4 bytes on first GROW - and this broke after the fix for - https://bugzilla.gnome.org/show_bug.cgi?id=566012 - http://git.gnome.org/cgit/libxml2/commit/?id=7e385bd4e28a0cc12b6b26ed178c620e3c3ab8d8 - leading to another bug - https://bugzilla.redhat.com/show_bug.cgi?id=523002 - this detects the situation and GROW when needed for proper processing. ---- -diff --git a/parser.c b/parser.c -index e415339..b41dcc3 100644 ---- a/parser.c -+++ b/parser.c -@@ -10130,8 +10130,12 @@ xmlParseDocument(xmlParserCtxtPtr ctxt) { - /* - * Check for the XMLDecl in the Prolog. - * do not GROW here to avoid the detected encoder to decode more -- * than just the first line -+ * than just the first line, unless the amount of data is really -+ * too small to hold "<?xml version="1.0" encoding="foo" - */ -+ if ((ctxt->input->end - ctxt->input->cur) < 35) { -+ GROW; -+ } - if ((CMP5(CUR_PTR, '<', '?', 'x', 'm', 'l')) && (IS_BLANK_CH(NXT(5)))) { - - /* --- -cgit v0.8.2 |