Applied the VMS update patch from Craig A. Berry update Daniel
* vms/build_libxml.com vms/config.vms vms/readme.vms
include/libxml/parser.h include/libxml/parserInternals.h
include/libxml/tree.h include/libxml/xmlIO.h
HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c
tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c:
Applied the VMS update patch from Craig A. Berry
* doc/*.html: update
Daniel
diff --git a/debugXML.c b/debugXML.c
index cbc5db0..9652c9f 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -1563,7 +1563,7 @@
*
* Returns 0
*/
-int
+static int
xmlShellGrep(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED,
char *arg, xmlNodePtr node, xmlNodePtr node2 ATTRIBUTE_UNUSED)
{
@@ -1582,16 +1582,16 @@
#endif
while (node != NULL) {
if (node->type == XML_COMMENT_NODE) {
- if (xmlStrstr(node->content, arg)) {
+ if (xmlStrstr(node->content, (xmlChar *) arg)) {
fprintf(ctxt->output, "%s : ", xmlGetNodePath(node));
xmlShellList(ctxt, NULL, node, NULL);
}
} else if (node->type == XML_TEXT_NODE) {
- if (xmlStrstr(node->content, arg)) {
+ if (xmlStrstr(node->content, (xmlChar *) arg)) {
fprintf(ctxt->output, "%s : ", xmlGetNodePath(node->parent));
- xmlShellList(ctxt, NULL, node, NULL);
+ xmlShellList(ctxt, NULL, node->parent, NULL);
}
}