aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-07-14 18:42:02 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2016-07-14 18:47:09 +0300
commit66eb071ce6202a33dbf53dfc46e52b25d683290c (patch)
tree87071ed312a385ee80385a4bd3aaf0d3641dc9d2 /doc
parent53c69f57651d0932632b45d5ee58f507575bb513 (diff)
downloadgdbm-66eb071ce6202a33dbf53dfc46e52b25d683290c.tar.gz
gdbm-66eb071ce6202a33dbf53dfc46e52b25d683290c.tar.bz2
gdbmtool: improve bucket dump and hash calculator
* src/gdbmtool.c (format_key_start): New function. (print_bucket): Take variadic arguments, use mesg as prinf-style format. Display first bytes of each non-empty key. (print_current_bucket_begin): Avoid coredump if gdbm_file is not initialized. (print_current_bucket_handler): Change header depending on the invoking command. (hash_handler): In presence of a database, print also the bucket number and offset within the bucket.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.