Fixed bug in crosstabs.q which caused a system crash
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 16 Dec 2003 06:45:03 +0000 (06:45 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 16 Dec 2003 06:45:03 +0000 (06:45 +0000)
src/crosstabs.q
tests/Makefile.am

index 7852ed84996a610a987e8c9d5f6f5dfcb97fc327..8ada7e4fa7fed8cd9e23fa17c6e5b16daeef2432 100644 (file)
@@ -1783,6 +1783,7 @@ enum_var_values (struct table_entry **beg, int cnt, union value **values, int *n
        union value *v;
        int i;
     
+       avl_traverser_init(trav);
        i = 0;
        while (NULL != (v = avl_traverse (tree, &trav)))
          (*values)[i++] = *v;
index 678f111df0b2c7212387b1158d45caeba819cba9..b7c58ec060a804dc9b014c83347973ead52e89c3 100644 (file)
@@ -15,7 +15,8 @@ TESTS = command/aggregate.sh \
        command/sort.sh \
        command/split-file.sh \
        bugs/double-frequency.sh \
-       bugs/html-frequency.sh
+       bugs/html-frequency.sh \
+       bugs/crosstabs.sh
 
 noinst_PROGRAMS = gengarbage