Diff for /embedaddon/libxml2/testrecurse.c between versions 1.1.1.1 and 1.1.1.3

version 1.1.1.1, 2012/02/21 23:37:58 version 1.1.1.3, 2014/06/15 19:53:29
Line 10 Line 10
  * daniel@veillard.com   * daniel@veillard.com
  */   */
   
 #ifdef HAVE_CONFIG_H  
 #include "libxml.h"  #include "libxml.h"
 #else  
 #include <stdio.h>  #include <stdio.h>
 #endif  
   
 #if !defined(_WIN32) || defined(__CYGWIN__)  #if !defined(_WIN32) || defined(__CYGWIN__)
 #include <unistd.h>  #include <unistd.h>
Line 148  static void globfree(glob_t *pglob) { Line 145  static void globfree(glob_t *pglob) {
              free(pglob->gl_pathv[i]);               free(pglob->gl_pathv[i]);
     }      }
 }  }
#define vsnprintf _vsnprintf
#define snprintf _snprintf 
 #else  #else
 #include <glob.h>  #include <glob.h>
 #endif  #endif
Line 684  recursiveDetectTest(const char *filename, Line 680  recursiveDetectTest(const char *filename,
     xmlDocPtr doc;      xmlDocPtr doc;
     xmlParserCtxtPtr ctxt;      xmlParserCtxtPtr ctxt;
     int res = 0;      int res = 0;
     int mem;  
   
     nb_tests++;      nb_tests++;
   
     ctxt = xmlNewParserCtxt();      ctxt = xmlNewParserCtxt();
     mem = xmlMemUsed();  
     /*      /*
      * base of the test, parse with the old API       * base of the test, parse with the old API
      */       */
Line 725  notRecursiveDetectTest(const char *filename, Line 719  notRecursiveDetectTest(const char *filename,
     xmlDocPtr doc;      xmlDocPtr doc;
     xmlParserCtxtPtr ctxt;      xmlParserCtxtPtr ctxt;
     int res = 0;      int res = 0;
     int mem;  
   
     nb_tests++;      nb_tests++;
   
     ctxt = xmlNewParserCtxt();      ctxt = xmlNewParserCtxt();
     mem = xmlMemUsed();  
     /*      /*
      * base of the test, parse with the old API       * base of the test, parse with the old API
      */       */

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


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