aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-11-16 15:15:59 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-11-16 15:15:59 +0000
commitf4cf25cebdc982459ba995fe30d9dbd4f54f0626 (patch)
tree946fc606469c18509ce9b3ba3375f5509882b0cb /tests
parentfcf2c9bce1cdd0d4a13841b99e919ec555b896c1 (diff)
downloadgdbm-f4cf25cebdc982459ba995fe30d9dbd4f54f0626.tar.gz
gdbm-f4cf25cebdc982459ba995fe30d9dbd4f54f0626.tar.bz2
Improve testgdbm
* src/mem.c (ealloc_die): Return EXIT_FATAL to the shell. * src/testgdbm.c: Use emalloc, erealloc and estrdup for memory allocation. (syntax_error): New function. (handler_param): New struct. (all handlers): Change signature. Take a pointer to struct handler_param as argument. (export_handler,import_handler): Handle new formats. (main): Take first argument to be the file name. (optab): Remove -f argument. Hide -g, but retain it for backward compatibility. * doc/gdbm.texinfo: Update.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.