diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-16 20:30:07 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-16 20:30:07 +0000 |
commit | 78c8bbc4157d577c291b289602794ecd1ff24c42 (patch) | |
tree | 288be46fb3bd79e6a7bf01ee90a17b6511cd1b99 /src/gdbmtool.c | |
parent | 979486e1b46a894fc9de2abe6eb8985536a5013c (diff) | |
download | gdbm-78c8bbc4157d577c291b289602794ecd1ff24c42.tar.gz gdbm-78c8bbc4157d577c291b289602794ecd1ff24c42.tar.bz2 |
Provide support for a simplified "define" construct.
* doc/gdbm.texinfo: Document the "define" statement.
* src/datconv.c: Support short and ushort data types.
* src/gdbmtool.c: Don't call checkdb prior to handling
the "hash" command.
* src/gram.y: Support simplified definition construct:
"define key|content type".
Diffstat (limited to 'src/gdbmtool.c')
-rw-r--r-- | src/gdbmtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmtool.c b/src/gdbmtool.c index 0c75742..66db2ed 100644 --- a/src/gdbmtool.c +++ b/src/gdbmtool.c @@ -924,7 +924,7 @@ struct command command_tab[] = { print_header_begin , print_header_handler, NULL, { { NULL } }, N_("print database file header") }, { S(hash), T_CMD, - checkdb, hash_handler, NULL, + NULL, hash_handler, NULL, { { N_("KEY"), ARG_DATUM, DS_KEY }, { NULL } }, N_("hash value of key") }, { S(cache), T_CMD, |