From 9ae4b7afa98d1904d786f5e10db49ada8a2945ad Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 13 Dec 2001 14:24:09 +0000 Subject: [PATCH] removed another strdup() removed the HP/UX entry Daniel * xmllint.c: removed another strdup() * doc/FAQ: removed the HP/UX entry Daniel --- ChangeLog | 5 +++++ doc/FAQ.html | 9 --------- doc/xml.html | 9 +-------- doc/xmlio.html | 1 + xmllint.c | 2 +- 5 files changed, 8 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 73f138f0..465dbf8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Dec 13 15:23:04 CET 2001 Daniel Veillard + + * xmllint.c: removed another strdup() + * doc/FAQ: removed the HP/UX entry + Thu Dec 13 09:44:58 CET 2001 Daniel Veillard * valid.c: fix bug #66816 when validating. diff --git a/doc/FAQ.html b/doc/FAQ.html index 73aa19fe..2b1b9851 100644 --- a/doc/FAQ.html +++ b/doc/FAQ.html @@ -185,15 +185,6 @@ A:link, A:visited, A:active { text-decoration: underline }
  • -libxml does not compile with HP-UX's optional ANSI-C compiler -

    this is due to macro limitations. Try to add " -Wp,-H16800 -Ae" to the - CFLAGS

    -

    you can also install and use gcc instead or use a precompiled version - of libxml, both available from the HP-UX Porting - and Archive Centre -

    -
  • -
  • make check fails on some platforms

    Sometime the regression tests results don't completely match the value produced by the parser, and the makefile uses diff to print the delta. On diff --git a/doc/xml.html b/doc/xml.html index 4e75cda3..6187c3cb 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -239,14 +239,6 @@ libxml2

    href="ftp://ftp.ilog.fr/pub/Users/haible/gnu/">here.
  • -
  • libxml does not compile with HP-UX's optional ANSI-C compiler -

    this is due to macro limitations. Try to add " -Wp,-H16800 -Ae" to the - CFLAGS

    -

    you can also install and use gcc instead or use a precompiled version - of libxml, both available from the HP-UX Porting - and Archive Centre

    -
  • make check fails on some platforms

    Sometime the regression tests results don't completely match the value produced by the parser, and the makefile uses diff to print the delta. On @@ -2188,6 +2180,7 @@ xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) { + }

  • And then use it to save the document: diff --git a/doc/xmlio.html b/doc/xmlio.html index 4ecb234d..a1f9d814 100644 --- a/doc/xmlio.html +++ b/doc/xmlio.html @@ -221,6 +221,7 @@ xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) { + }
  • And then use it to save the document: diff --git a/xmllint.c b/xmllint.c index f2a1312c..b44bf48b 100644 --- a/xmllint.c +++ b/xmllint.c @@ -379,7 +379,7 @@ xmlShellReadline(char *prompt) { if (!fgets(line_read, 500, stdin)) return(NULL); line_read[500] = 0; - return(strdup(line_read)); + return((char *) xmlStrdup((xmlChar *) line_read)); #endif }