version 1.1.1.2, 2013/07/22 01:22:21
|
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 149 static void globfree(glob_t *pglob) {
|
Line 146 static void globfree(glob_t *pglob) {
|
} |
} |
} |
} |
|
|
#if !defined(__MINGW32__) |
|
#define vsnprintf _vsnprintf |
|
#define snprintf _snprintf |
|
#endif |
|
#else |
#else |
#include <glob.h> |
#include <glob.h> |
#endif |
#endif |
Line 687 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 728 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 |
*/ |
*/ |