1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

removed another strdup() removed the HP/UX entry Daniel

* xmllint.c: removed another strdup()
* doc/FAQ: removed the HP/UX entry
Daniel
This commit is contained in:
Daniel Veillard
2001-12-13 14:24:09 +00:00
parent ed472f34d2
commit 9ae4b7afa9
5 changed files with 8 additions and 18 deletions

View File

@ -1,3 +1,8 @@
Thu Dec 13 15:23:04 CET 2001 Daniel Veillard <daniel@veillard.com>
* xmllint.c: removed another strdup()
* doc/FAQ: removed the HP/UX entry
Thu Dec 13 09:44:58 CET 2001 Daniel Veillard <daniel@veillard.com> Thu Dec 13 09:44:58 CET 2001 Daniel Veillard <daniel@veillard.com>
* valid.c: fix bug #66816 when validating. * valid.c: fix bug #66816 when validating.

View File

@ -185,15 +185,6 @@ A:link, A:visited, A:active { text-decoration: underline }
</ul> </ul>
</li> </li>
<li> <li>
<em>libxml does not compile with HP-UX's optional ANSI-C compiler</em>
<p>this is due to macro limitations. Try to add &quot; -Wp,-H16800 -Ae&quot; to the
CFLAGS</p>
<p>you can also install and use gcc instead or use a precompiled version
of libxml, both available from the <a href="http://hpux.cae.wisc.edu/hppd/auto/summary_all.html">HP-UX Porting
and Archive Centre</a>
</p>
</li>
<li>
<em>make check fails on some platforms</em> <em>make check fails on some platforms</em>
<p>Sometime the regression tests results don't completely match the value <p>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 produced by the parser, and the makefile uses diff to print the delta. On

View File

@ -239,14 +239,6 @@ libxml2</p>
href="ftp://ftp.ilog.fr/pub/Users/haible/gnu/">here</a>.</li> href="ftp://ftp.ilog.fr/pub/Users/haible/gnu/">here</a>.</li>
</ul> </ul>
</li> </li>
<li><em>libxml does not compile with HP-UX's optional ANSI-C compiler</em>
<p>this is due to macro limitations. Try to add " -Wp,-H16800 -Ae" to the
CFLAGS</p>
<p>you can also install and use gcc instead or use a precompiled version
of libxml, both available from the <a
href="http://hpux.cae.wisc.edu/hppd/auto/summary_all.html">HP-UX Porting
and Archive Centre</a></p>
</li>
<li><em>make check fails on some platforms</em> <li><em>make check fails on some platforms</em>
<p>Sometime the regression tests results don't completely match the value <p>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 produced by the parser, and the makefile uses diff to print the delta. On
@ -2188,6 +2180,7 @@ xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) {
} </pre> } </pre>
</li> </li>
<li>And then use it to save the document: <li>And then use it to save the document:

View File

@ -221,6 +221,7 @@ xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) {
} </pre> } </pre>
</li> </li>
<li>And then use it to save the document: <li>And then use it to save the document:

View File

@ -379,7 +379,7 @@ xmlShellReadline(char *prompt) {
if (!fgets(line_read, 500, stdin)) if (!fgets(line_read, 500, stdin))
return(NULL); return(NULL);
line_read[500] = 0; line_read[500] = 0;
return(strdup(line_read)); return((char *) xmlStrdup((xmlChar *) line_read));
#endif #endif
} }