Diff for /embedaddon/libxml2/pattern.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:37:58 version 1.1.1.2, 2013/07/22 01:22:20
Line 39 Line 39
   
 /* #define DEBUG_STREAMING */  /* #define DEBUG_STREAMING */
   
   #ifdef ERROR
   #undef ERROR
   #endif
 #define ERROR(a, b, c, d)  #define ERROR(a, b, c, d)
 #define ERROR5(a, b, c, d, e)  #define ERROR5(a, b, c, d, e)
   
Line 305  xmlNewPatParserContext(const xmlChar *pattern, xmlDict Line 308  xmlNewPatParserContext(const xmlChar *pattern, xmlDict
     cur->base = pattern;      cur->base = pattern;
     if (namespaces != NULL) {      if (namespaces != NULL) {
         int i;          int i;
        for (i = 0;namespaces[2 * i] != NULL;i++);        for (i = 0;namespaces[2 * i] != NULL;i++)
             ;
         cur->nb_namespaces = i;          cur->nb_namespaces = i;
     } else {      } else {
         cur->nb_namespaces = 0;          cur->nb_namespaces = 0;

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>