projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix install doc rule for Automake 1.11
[yaz-moved-to-github.git]
/
test
/
tstsoap1.c
diff --git
a/test/tstsoap1.c
b/test/tstsoap1.c
index
7da6967
..
c616b27
100644
(file)
--- a/
test/tstsoap1.c
+++ b/
test/tstsoap1.c
@@
-1,25
+1,23
@@
-/*
- * Copyright (C) 1995-2005, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: tstsoap1.c,v 1.6 2006-01-30 16:58:06 adam Exp $
*/
#include <stdlib.h>
*/
#include <stdlib.h>
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
#include <libxml/parser.h>
#endif
#include <yaz/test.h>
#include <libxml/parser.h>
#endif
#include <yaz/test.h>
-void tst()
+void tst(void)
{
{
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
xmlChar *buf_out;
int len_out;
xmlDocPtr doc;
xmlNodePtr top;
#if 0
xmlChar *buf_out;
int len_out;
xmlDocPtr doc;
xmlNodePtr top;
#if 0
- const char *val = "jordbær"; /* makes xmlDocDumpMemory hang .. */
+ const char *val = "jordb" "\xe6" "r"; /* makes xmlDocDumpMemory hang .. */
#else
const char *val = "jordbaer"; /* OK */
#endif
#else
const char *val = "jordbaer"; /* OK */
#endif
@@
-38,14
+36,14
@@
void tst()
#endif
#endif
-/* HAVE_XML2 */
+/* YAZ_HAVE_XML2 */
#endif
}
int main(int argc, char **argv)
{
YAZ_CHECK_INIT(argc, argv);
#endif
}
int main(int argc, char **argv)
{
YAZ_CHECK_INIT(argc, argv);
-#if HAVE_XML2
+#if YAZ_HAVE_XML2
LIBXML_TEST_VERSION;
#endif
tst();
LIBXML_TEST_VERSION;
#endif
tst();
@@
-56,6
+54,7
@@
int main(int argc, char **argv)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab