aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml2/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-19 18:33:57 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-10-19 18:33:57 +0000
commit747a6d3b23e8e39aba59c4b0bf3d4a351c888878 (patch)
treea226ef79fa2b781365624946faf58a6b8237ac86 /textproc/libxml2/files
parent248ae9d969f706246e427be88273e10768969298 (diff)
downloadports-747a6d3b23e8e39aba59c4b0bf3d4a351c888878.tar.gz
ports-747a6d3b23e8e39aba59c4b0bf3d4a351c888878.zip
Notes
Diffstat (limited to 'textproc/libxml2/files')
-rw-r--r--textproc/libxml2/files/patch-temp55
1 files changed, 0 insertions, 55 deletions
diff --git a/textproc/libxml2/files/patch-temp b/textproc/libxml2/files/patch-temp
deleted file mode 100644
index 8d351d583eb2..000000000000
--- a/textproc/libxml2/files/patch-temp
+++ /dev/null
@@ -1,55 +0,0 @@
-This patch is from CVS and fixes a seg fault due to some bad memory
-management. This will be fixed in the next release.
-
---- valid.c.orig Wed Oct 9 12:03:48 2002
-+++ valid.c Wed Oct 9 12:06:17 2002
-@@ -4551,9 +4551,9 @@
- xmlElementPtr elemDecl, int warn, xmlNodePtr parent) {
- int ret = 1;
- #ifndef LIBXML_REGEXP_ENABLED
-- xmlNodePtr last = NULL;
-+ xmlNodePtr last = NULL, last = NULL, tmp;
- #endif
-- xmlNodePtr repl = NULL, cur, tmp;
-+ xmlNodePtr cur;
- xmlElementContentPtr cont;
- const xmlChar *name;
-
-@@ -4571,6 +4571,9 @@
- } else {
- xmlRegExecCtxtPtr exec;
-
-+ ctxt->nodeMax = 0;
-+ ctxt->nodeNr = 0;
-+ ctxt->nodeTab = NULL;
- exec = xmlRegNewExecCtxt(elemDecl->contModel, NULL, NULL);
- if (exec != NULL) {
- cur = child;
-@@ -4762,9 +4765,11 @@
- expr[0] = 0;
- xmlSnprintfElementContent(expr, 5000, cont, 1);
- list[0] = 0;
-+#ifndef LIBXML_REGEXP_ENABLED
- if (repl != NULL)
- xmlSnprintfElements(list, 5000, repl, 1);
- else
-+#endif /* LIBXML_REGEXP_ENABLED */
- xmlSnprintfElements(list, 5000, child, 1);
-
- if (name != NULL) {
-@@ -4797,7 +4802,6 @@
-
- #ifndef LIBXML_REGEXP_ENABLED
- done:
--#endif
- /*
- * Deallocate the copy if done, and free up the validation stack
- */
-@@ -4811,6 +4815,7 @@
- xmlFree(ctxt->vstateTab);
- ctxt->vstateTab = NULL;
- }
-+#endif
- ctxt->nodeMax = 0;
- ctxt->nodeNr = 0;
- if (ctxt->nodeTab != NULL) {