From 3439031e3f07c8241bab29a137af33c7bfade37d Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 16 Dec 2003 06:45:03 +0000 Subject: [PATCH] Fixed bug in crosstabs.q which caused a system crash --- src/crosstabs.q | 1 + tests/Makefile.am | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/crosstabs.q b/src/crosstabs.q index 7852ed84..8ada7e4f 100644 --- a/src/crosstabs.q +++ b/src/crosstabs.q @@ -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; diff --git a/tests/Makefile.am b/tests/Makefile.am index 678f111d..b7c58ec0 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 -- 2.30.2