Do not include bumpalloc.h.
authorJim Meyering <jim@meyering.net>
Fri, 1 Aug 2003 06:44:28 +0000 (06:44 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 1 Aug 2003 06:44:28 +0000 (06:44 +0000)
commit09df41c60ff151f597dbc6c63cf57c5c8a294761
tree7373ea53e109bc281a12c46309be6f24a35cead5
parent7f18ea73cec821a4621b4dee527966cbb95ce098
Do not include bumpalloc.h.
(WORD_TABLE): New member alloc.
(ALLOC_NEW_WORD): Remove.
(occurs_alloc): New var.
(digest_word_file, find_occurs_in_text): Check for arithmetic
overflow when computing table size.  Use xrealloc rather than
bumpalloc primitives.
src/ptx.c