Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/expat/dist Re-apply NetBSD patches.



details:   https://anonhg.NetBSD.org/src/rev/9e8b21b487cc
branches:  trunk
changeset: 773647:9e8b21b487cc
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Feb 11 18:22:58 2012 +0000

description:
Re-apply NetBSD patches.

diffstat:

 external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4 |  2 +-
 external/mit/expat/dist/conftools/mkinstalldirs           |  2 +-
 external/mit/expat/dist/lib/xmlparse.c                    |  3 +++
 external/mit/expat/dist/lib/xmltok_impl.c                 |  2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r b4e5f8eafbab -r 9e8b21b487cc external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4
--- a/external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4 Sat Feb 11 18:18:10 2012 +0000
+++ b/external/mit/expat/dist/conftools/ac_c_bigendian_cross.m4 Sat Feb 11 18:22:58 2012 +0000
@@ -7,7 +7,7 @@
 dnl the binary it will be grep'ed for some symbols that will look
 dnl different for different endianess of the binary.
 dnl
-dnl @version $Id: ac_c_bigendian_cross.m4,v 1.1.1.1 2012/02/11 18:18:21 tron Exp $
+dnl @version $Id: ac_c_bigendian_cross.m4,v 1.2 2012/02/11 18:22:58 tron Exp $
 dnl @author Guido Draheim <guidod%gmx.de@localhost>
 dnl
 AC_DEFUN([AC_C_BIGENDIAN_CROSS],
diff -r b4e5f8eafbab -r 9e8b21b487cc external/mit/expat/dist/conftools/mkinstalldirs
--- a/external/mit/expat/dist/conftools/mkinstalldirs   Sat Feb 11 18:18:10 2012 +0000
+++ b/external/mit/expat/dist/conftools/mkinstalldirs   Sat Feb 11 18:22:58 2012 +0000
@@ -4,7 +4,7 @@
 # Created: 1993-05-16
 # Public domain
 
-# $Id: mkinstalldirs,v 1.1.1.1 2012/02/11 18:18:21 tron Exp $
+# $Id: mkinstalldirs,v 1.2 2012/02/11 18:22:58 tron Exp $
 
 errstatus=0
 
diff -r b4e5f8eafbab -r 9e8b21b487cc external/mit/expat/dist/lib/xmlparse.c
--- a/external/mit/expat/dist/lib/xmlparse.c    Sat Feb 11 18:18:10 2012 +0000
+++ b/external/mit/expat/dist/lib/xmlparse.c    Sat Feb 11 18:22:58 2012 +0000
@@ -3703,6 +3703,9 @@
         return XML_ERROR_UNCLOSED_TOKEN;
       case XML_TOK_PARTIAL_CHAR:
         return XML_ERROR_PARTIAL_CHAR;
+      case -XML_TOK_PROLOG_S:
+       tok = -tok;
+       break;
       case XML_TOK_NONE:
 #ifdef XML_DTD
         /* for internal PE NOT referenced between declarations */
diff -r b4e5f8eafbab -r 9e8b21b487cc external/mit/expat/dist/lib/xmltok_impl.c
--- a/external/mit/expat/dist/lib/xmltok_impl.c Sat Feb 11 18:18:10 2012 +0000
+++ b/external/mit/expat/dist/lib/xmltok_impl.c Sat Feb 11 18:22:58 2012 +0000
@@ -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: \



Home | Main Index | Thread Index | Old Index