mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
- configure.in: releasing 2.2.4
- parser.[ch]: added xmlStrEqual() - HTMLparser.c HTMLtree.c SAX.c debugXML.c entities.c parser.c tree.c valid.c xlink.c xpath.c: converted all !xmlStrcmp to use xmlStrEqual instead - TODO: updated - added an XPath test Daniel
This commit is contained in:
@ -1491,14 +1491,14 @@ xmlShellPwd(xmlShellCtxtPtr ctxt, char *buffer, xmlNodePtr node,
|
||||
*/
|
||||
tmp = cur->prev;
|
||||
while (tmp != NULL) {
|
||||
if (!xmlStrcmp(cur->name, tmp->name))
|
||||
if (xmlStrEqual(cur->name, tmp->name))
|
||||
occur++;
|
||||
tmp = tmp->prev;
|
||||
}
|
||||
if (occur == 0) {
|
||||
tmp = cur->next;
|
||||
while (tmp != NULL) {
|
||||
if (!xmlStrcmp(cur->name, tmp->name))
|
||||
if (xmlStrEqual(cur->name, tmp->name))
|
||||
occur++;
|
||||
tmp = tmp->next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user