diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-05-05 13:28:04 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-05-05 13:28:04 -0400 |
commit | 8557783d1c415384dcdb8482b7e4178979484de5 (patch) | |
tree | 4f1652dec5270cbb0e372434dcda16ea17eaaf34 /allocator.c | |
parent | cfeec003c1b9c96c284f5a8191bae6256c78b463 (diff) |
figured out what the problem was
Diffstat (limited to 'allocator.c')
-rw-r--r-- | allocator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/allocator.c b/allocator.c index a731928..98005ef 100644 --- a/allocator.c +++ b/allocator.c @@ -25,7 +25,7 @@ static void *err_malloc(size_t bytes); static void *err_calloc(size_t n, size_t sz); static void *err_realloc(void *prev, size_t new_size); #ifdef TOC_DEBUG -//#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */ +#define NO_ALLOCATOR 1 /* useful for debugging; valgrind checks writing past the end of a malloc, but that won't work with an allocator */ #endif /* number of bytes a page hold, not including the header */ #define PAGE_BYTES (16384 - sizeof(Page)) |