Amendments on March 2, 2023
util: Turn EXPAND_TO_FIT into grow_to_fit function
This will return false if the xrealloc failed, leaving the original
pointer untouched. With the macro, the pointer would get overwritten
with NULL and not be able to be freed.
Amendments on March 1, 2023
util: Make x* allocation functions no longer fatal on failure
Display a warning, but return NULL
Also remove MALLOC_DEBUG, it is not as helpful as I wanted and just
bloats things having to store all these note strings
binkp+board: On second thought, store FidoNet messages differently
These are different enough from our own posts/threads that it makes
more sense to store them in separate formats and just adapt board
viewer to show both.
Add a config setting to set whether binkp will delete files after
processing or move them to a binkp-processed directory. This allows
keeping files for re-importing later, but then being able to turn
the setting on to delete files after processing to avoid filling up
Also use non-fatal malloc/calloc in binkp processor since it's not
critical and can just retry later when we have memory.
bile: Add bile_ids_by_type, make bile_sorted_ids_by_type use it
Sometimes there's no point in sorting the results