diff options
author | gandhi <gandhi@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-04 17:20:46 +0000 |
---|---|---|
committer | gandhi <gandhi@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-04 17:20:46 +0000 |
commit | dfee55ad4c29574600e115da83d84c9c07a46462 (patch) | |
tree | 6b16dd686fa6007f2b686360138578103f286646 /apps/gperf | |
parent | f55f6bf3396e55e4728c631f74571329b519fb86 (diff) | |
download | ATCD-dfee55ad4c29574600e115da83d84c9c07a46462.tar.gz |
*** empty log message ***
Diffstat (limited to 'apps/gperf')
-rw-r--r-- | apps/gperf/src/Gen_Perf.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/gperf/src/Gen_Perf.cpp b/apps/gperf/src/Gen_Perf.cpp index 346f357131b..b4da89db23e 100644 --- a/apps/gperf/src/Gen_Perf.cpp +++ b/apps/gperf/src/Gen_Perf.cpp @@ -263,15 +263,11 @@ Gen_Perf::change (List_Node *prior, List_Node *curr) int Gen_Perf::generate (void) { -#if defined (LARGE_STACK_ARRAYS) - STORAGE_TYPE buffer[max_hash_value + 1]; -#else // Note: we don't use new, because that invokes a custom operator new. STORAGE_TYPE *buffer = (STORAGE_TYPE*) malloc (sizeof(STORAGE_TYPE) * (max_hash_value + 1)); if (buffer == NULL) abort (); -#endif /* LARGE_STACK_ARRAYS */ this->char_search.init (buffer, max_hash_value + 1); |