started integrating the non-controversial parts of Gary Pennington

* HTMLtree.c catalog.c debugXML.c entities.c nanoftp.c
  parser.c valid.c xmlmemory.c xpath.c xpointer.c: started
  integrating the non-controversial parts of Gary Pennington
  multithread patches
* catalog.c: corrected a small bug introduced
Daniel
diff --git a/debugXML.c b/debugXML.c
index 6c7d9a4..dbdd1f3 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -567,7 +567,7 @@
             break;
         case XML_TEXT_NODE:
             fprintf(output, shift);
-	    if (node->name == xmlStringTextNoenc)
+	    if (node->name == (const xmlChar *) xmlStringTextNoenc)
 		fprintf(output, "TEXT no enc\n");
 	    else
 		fprintf(output, "TEXT\n");