fixed bug 119946 enhanced for better devel (me) testing
authorWilliam M. Brack <wbrack@src.gnome.org>
Fri, 17 Oct 2003 04:49:04 +0000 (04:49 +0000)
committerWilliam M. Brack <wbrack@src.gnome.org>
Fri, 17 Oct 2003 04:49:04 +0000 (04:49 +0000)
* libxslt/pattern.c: fixed bug 119946
* configure.in: enhanced for better devel (me) testing

ChangeLog
configure.in
libxslt/pattern.c

index a98abfc..9ac0095 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 17 12:40:37 HKT 2003 William Brack <wbrack@mmm.com.hk>
+
+       * libxslt/pattern.c: fixed bug 119946
+       * configure.in: enhanced for better devel (me) testing
+
 Wed Oct 15 17:30:43 CEST 2003 Daniel Veillard <daniel@veillard.com>
 
        * configure.in: applied a small patch from Troels Walsted Hansen
index 8a7788f..7885c15 100644 (file)
@@ -227,7 +227,9 @@ AC_SUBST(PYTHON_SUBDIR)
 dnl
 dnl Debug for DV (-Wunreachable-code)
 dnl
-if test "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ; then
+if [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ]] || \
+   [[ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomecvs/libxslt" ]]
+   then
     if test "${with_mem_debug}" = "" ; then
        with_mem_debug="yes"
     fi
index 7eff45f..404c22f 100644 (file)
@@ -732,11 +732,11 @@ xsltTestCompMatch(xsltTransformContextPtr ctxt, xsltCompMatchPtr comp,
                        while (sibling != NULL) {
                            if (sibling == previous)
                                break;
-                           if ((node->type == XML_ELEMENT_NODE) &&
-                               (node->name != NULL) &&
+                           if ((previous->type == XML_ELEMENT_NODE) &&
+                               (previous->name != NULL) &&
                                (sibling->name != NULL) &&
-                               (node->name[0] == sibling->name[0]) &&
-                               (xmlStrEqual(node->name, sibling->name))) {
+                               (previous->name[0] == sibling->name[0]) &&
+                               (xmlStrEqual(previous->name, sibling->name))) {
                                if ((select->value2 == NULL) ||
                                    ((sibling->ns != NULL) &&
                                     (xmlStrEqual(select->value2,