diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-08-26 19:55:10 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-08-26 19:55:10 +0000 |
commit | 55abe4ce636d2cbcd08a0ad069fe9711b6649f2a (patch) | |
tree | afbeacf668720e87da99f9fa582252111a041ab2 /patches/expat/expat-2.0.1.diff | |
parent | 4202f20703fa96c4d2649cf16f0bc114ebc1d281 (diff) | |
download | slackbuilds-55abe4ce636d2cbcd08a0ad069fe9711b6649f2a.tar.gz slackbuilds-55abe4ce636d2cbcd08a0ad069fe9711b6649f2a.tar.bz2 |
expat: adding patches/expat
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2236 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'patches/expat/expat-2.0.1.diff')
-rw-r--r-- | patches/expat/expat-2.0.1.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/expat/expat-2.0.1.diff b/patches/expat/expat-2.0.1.diff new file mode 100644 index 00000000..bb40f0af --- /dev/null +++ b/patches/expat/expat-2.0.1.diff @@ -0,0 +1,24 @@ +diff -Naur expat-2.0.1.orig/lib/xmlparse.c expat-2.0.1/lib/xmlparse.c +--- expat-2.0.1.orig/lib/xmlparse.c 2007-05-07 23:25:35.000000000 -0300 ++++ expat-2.0.1/lib/xmlparse.c 2009-08-26 16:50:55.000000000 -0300 +@@ -2563,6 +2563,8 @@ + (int)(dataPtr - (ICHAR *)dataBuf)); + if (s == next) + break; ++ if (ps_parsing == XML_FINISHED || ps_parsing == XML_SUSPENDED) ++ break; + *eventPP = s; + } + } +diff -Naur expat-2.0.1.orig/lib/xmltok_impl.c expat-2.0.1/lib/xmltok_impl.c +--- expat-2.0.1.orig/lib/xmltok_impl.c 2006-11-26 15:34:46.000000000 -0200 ++++ expat-2.0.1/lib/xmltok_impl.c 2009-08-26 16:50:57.000000000 -0300 +@@ -1744,7 +1744,7 @@ + const char *end, + POSITION *pos) + { +- while (ptr != end) { ++ while (ptr < end) { + switch (BYTE_TYPE(enc, ptr)) { + #define LEAD_CASE(n) \ + case BT_LEAD ## n: \ |