diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-11-16 15:15:59 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-11-16 15:15:59 +0000 |
commit | f4cf25cebdc982459ba995fe30d9dbd4f54f0626 (patch) | |
tree | 946fc606469c18509ce9b3ba3375f5509882b0cb /tests | |
parent | fcf2c9bce1cdd0d4a13841b99e919ec555b896c1 (diff) | |
download | gdbm-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