Hi,

The recently added dg-cmp-results.sh did error out when it tried to
reference a local non-array variable as an array variable.

I've applied the following obvious fix as r117006.


2006-09-18  Bernhard Fischer  <[EMAIL PROTECTED]>

        * dg-cmp-results.sh (compare-$$.awk): Print name[old]
        and not non-existing nm[old].

thanks,
Bernhard
Index: dg-cmp-results.sh
===================================================================
--- dg-cmp-results.sh   (revision 116995)
+++ dg-cmp-results.sh   (working copy)
@@ -135,7 +135,7 @@
        # Compare this new test to the first queued old one.
        if (verbose >= 4) {
            printf("Comparing two lines:\n O:%s:%s\n N:%s:%s\n",
-            status[old], nm[old], st, nm)
+            status[old], name[old], st, nm)
        }
         if (name[old] != nm) {
            # The old test wasn't run this time and

Reply via email to