mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
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
This commit is contained in:
@ -1563,7 +1563,7 @@ xmlShellSetBase(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED,
|
||||
*
|
||||
* Returns 0
|
||||
*/
|
||||
int
|
||||
static int
|
||||
xmlShellGrep(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED,
|
||||
char *arg, xmlNodePtr node, xmlNodePtr node2 ATTRIBUTE_UNUSED)
|
||||
{
|
||||
@ -1582,16 +1582,16 @@ xmlShellGrep(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED,
|
||||
#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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user