Commit c935253f authored by Daniel Veillard's avatar Daniel Veillard

cleanups, logfile and portability fixed a memory leak Daniel

* runsuite.c runtest.c: cleanups, logfile and portability
* xmllint.c: fixed a memory leak
Daniel
parent 3fa5e7e4
Mon Jul 4 16:23:54 CEST 2005 Daniel Veillard <daniel@veillard.com>
* runsuite.c runtest.c: cleanups, logfile and portability
* xmllint.c: fixed a memory leak
Mon Jul 4 13:11:12 CEST 2005 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed a bug failing to detect UTF-8 violations in
......
This diff is collapsed.
......@@ -8,14 +8,15 @@
* daniel@veillard.com
*/
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <unistd.h>
#endif
#include <string.h>
#include <stdio.h>
#include <glob.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
......@@ -68,9 +69,6 @@
#include <libxml/parser.h>
#include <libxml/catalog.h>
#include <string.h>
#if !defined(_MSC_VER)
#include <unistd.h>
#endif
#endif
typedef int (*functest) (const char *filename, const char *result,
......
......@@ -2342,7 +2342,7 @@ main(int argc, char **argv) {
#endif /* LIBXML_SCHEMAS_ENABLED */
#ifdef LIBXML_PATTERN_ENABLED
if ((pattern != NULL)
#ifdef LIBXML_WALKER_ENABLED
#ifdef LIBXML_READER_ENABLED
&& (walker == 0)
#endif
) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment