summaryrefslogtreecommitdiffstats
path: root/all_pairs/source/anagram/anagram_stdlib.c
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 00:37:06 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 00:37:06 -0400
commit1849016a4c0fd3d62b0acb66e7fd0f8c92b4c6fb (patch)
tree932b2074ccc51d279ea04495b4d840a813e28ee2 /all_pairs/source/anagram/anagram_stdlib.c
parent83f8b415563703d9efdf258a60f10fcca264565d (diff)
Fix 4 more bugs in TACLeBench
- anagram: Fix two off-by-ones, the heap size, and the result - rijndael_dec: Reset result checksum at job start - huff_enc: Reset mutable global variables at job start
Diffstat (limited to 'all_pairs/source/anagram/anagram_stdlib.c')
-rw-r--r--all_pairs/source/anagram/anagram_stdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/all_pairs/source/anagram/anagram_stdlib.c b/all_pairs/source/anagram/anagram_stdlib.c
index c766a5e..5c9f3fc 100644
--- a/all_pairs/source/anagram/anagram_stdlib.c
+++ b/all_pairs/source/anagram/anagram_stdlib.c
@@ -126,7 +126,7 @@ void anagram_qsort( void *va, unsigned long n, unsigned long es )
126 126
127 127
128/* This must be redefined for each new benchmark */ 128/* This must be redefined for each new benchmark */
129#define ANAGRAM_HEAP_SIZE 18000 129#define ANAGRAM_HEAP_SIZE 20388
130 130
131static char anagram_simulated_heap[ANAGRAM_HEAP_SIZE]; 131static char anagram_simulated_heap[ANAGRAM_HEAP_SIZE];
132static unsigned int anagram_freeHeapPos; 132static unsigned int anagram_freeHeapPos;