1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-11 01:58:56 +03:00

applied patch from Björn Wiberg to try to fix again the silly

* nanoftp.c: applied patch from Björn Wiberg to try to fix again
  the silly __ss_familly problem on various AIXes, should fix #420184
Daniel

svn path=/trunk/; revision=3592
This commit is contained in:
Daniel Veillard 2007-03-20 08:47:29 +00:00
parent 0c1e301175
commit bd44484bb0
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Mar 20 09:58:13 CET 2007 Daniel Veillard <daniel@veillard.com>
* nanoftp.c: applied patch from Björn Wiberg to try to fix again
the silly __ss_familly problem on various AIXes, should fix #420184
Wed Mar 14 20:30:38 HKT 2007 William Brack <wbrack@mmm.com.hk>
* configure.in: corrected small error in last commit

View File

@ -305,7 +305,8 @@ A:link, A:visited, A:active { text-decoration: underline }
$id = mysql_result($result, $i, 2);
$module = mysql_result($result, $i, 3);
$desc = mysql_result($result, $i, 4);
$url = $module;
if (strncmp($module, "libxml-", 7) == 0) {
$url = "html/$module";
if ($id != "") {
$url = $url + "#$id";
}

View File

@ -102,8 +102,10 @@
#endif
#ifdef _AIX
#ifdef HAVE_BROKEN_SS_FAMILY
#define ss_family __ss_family
#endif
#endif
#ifndef XML_SOCKLEN_T
#define XML_SOCKLEN_T unsigned int

View File

@ -623,7 +623,9 @@ xmlNodeListDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur) {
buf = ctxt->buf;
while (cur != NULL) {
if ((ctxt->format) && (xmlIndentTreeOutput) &&
(cur->type == XML_ELEMENT_NODE))
((cur->type == XML_ELEMENT_NODE) ||
(cur->type == XML_COMMENT_NODE) ||
(cur->type == XML_PI_NODE)))
xmlOutputBufferWrite(buf, ctxt->indent_size *
(ctxt->level > ctxt->indent_nr ?
ctxt->indent_nr : ctxt->level),