Skip to content
Browse files

tiny fix from Albert Chin portability cleanup for arch needing trio for

* libxml.3: tiny fix from Albert Chin
* runsuite.c runtest.c testapi.c: portability cleanup for arch
  needing trio for *printf
Daniel
  • Loading branch information...
1 parent 19dc961 commit f93a67e9c9ab8d4bfd8af59cd7a9e0b99da6cdc7 Daniel Veillard committed Oct 28, 2005
Showing with 23 additions and 8 deletions.
  1. +6 −0 ChangeLog
  2. +1 −1 libxml.3
  3. +6 −1 runsuite.c
  4. +6 −1 runtest.c
  5. +4 −5 testapi.c
View
6 ChangeLog
@@ -1,3 +1,9 @@
+Fri Oct 28 18:36:08 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+ * libxml.3: tiny fix from Albert Chin
+ * runsuite.c runtest.c testapi.c: portability cleanup for arch
+ needing trio for *printf
+
Fri Oct 28 12:21:39 EDT 2005 Rob Richards <rrichards@ctindustries.net>
* tree.c: add additional checks to prevent tree corruption. fix problem
View
2 libxml.3
@@ -53,7 +53,7 @@ library exports Push and Pull type parser interfaces for both XML and
static library
.TP
.B /depot/lib/libxml_2.0.0/libxml.so
-shareable library
+shared library
.TP
.B /depot/package/libxml_2.0.0/bin/xmllint
binary application for parsing XML files
View
7 runsuite.c
@@ -6,11 +6,16 @@
* daniel@veillard.com
*/
+#ifdef HAVE_CONFIG_H
+#include "libxml.h"
+#else
+#include <stdio.h>
+#endif
+
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <unistd.h>
#endif
#include <string.h>
-#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
View
7 runtest.c
@@ -11,11 +11,16 @@
* daniel@veillard.com
*/
+#ifdef HAVE_CONFIG_H
+#include "libxml.h"
+#else
+#include <stdio.h>
+#endif
+
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <unistd.h>
#endif
#include <string.h>
-#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
View
9 testapi.c
@@ -8,13 +8,12 @@
* daniel@veillard.com
*/
-#include "config.h"
-#ifndef WITH_TRIO
- #include <stdio.h>
+#ifdef HAVE_CONFIG_H
+#include "libxml.h"
#else
- #define TRIO_REPLACE_STDIO
- #include "trio.h"
+#include <stdio.h>
#endif
+
#include <string.h>
#include <libxml/xmlerror.h>
#include <libxml/relaxng.h>

0 comments on commit f93a67e

Please sign in to comment.
Something went wrong with that request. Please try again.