1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Use the standard 'new' operator.

This commit is contained in:
Bruno Haible
2002-10-31 12:30:27 +00:00
parent a07f46bd1d
commit 00c5953c20
5 changed files with 17 additions and 81 deletions

View File

@@ -1,5 +1,14 @@
2002-10-03 Bruno Haible <bruno@clisp.org>
* src/key-list.cc (Key_List::read_keys): Allocate the memory for the
hash table using 'new'.
(Key_List::output_lookup_array): Allocate the memory for the duplicates
array using 'new'.
* src/options.h (LARGE_STACK_ARRAYS): Remove definition.
* src/main.cc (main): Remove setrlimit call.
* src/configure.in: Don't test for unistd.h, sys/time.h,
sys/resource.h, getrlimit, setrlimit.
* src/bool-array.h (Bool_Array): Make all members non-static.
Add an argument to the constructor. Remove init(), rename reset() to
clear(), rename find() to set_bit().