summaryrefslogtreecommitdiffabout
path: root/doc
authorSergey Poznyakoff <gray@gnu.org.ua>2016-07-27 08:31:44 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2016-07-27 08:36:58 (GMT)
commit02af339ee10b10c8e192db0a0c990dffb5925c59 (patch) (side-by-side diff)
tree899026152f5686f83602a6f07d9ad7b21b7f57e7 /doc
parentb498227f2b983e83920c6dbe402d80f2ab6bbf39 (diff)
downloadgdbm-02af339ee10b10c8e192db0a0c990dffb5925c59.tar.gz
gdbm-02af339ee10b10c8e192db0a0c990dffb5925c59.tar.bz2
Remove obsolete error code.
* doc/gdbm.texi: Remove description of GDBM_UNKNOWN_UPDATE. Document GDBM_DIR_OVERFLOW. * src/gdbm.h.in (GDBM_ERR_DIR_OVERFLOW): Rename to GDBM_DIR_OVERFLOW. (GDBM_UNKNOWN_ERROR): New error code. (GDBM_UNKNOWN_UPDATE): Define to GDBM_UNKNOWN_ERROR for backward compatibility. * src/gdbmerrno.c (gdbm_strerror, gdbm_db_strerror): Simplify a bit
Diffstat (limited to 'doc') (more/less context) (ignore whitespace changes)
-rw-r--r--doc/gdbm.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/gdbm.texi b/doc/gdbm.texi
index 4eb8793..5c89788 100644
--- a/doc/gdbm.texi
+++ b/doc/gdbm.texi
@@ -1543,10 +1543,6 @@ Set by the @code{gdbm_reorganize} (@pxref{Reorganization}) if it attempted to
operate on a database that is open in read-only mode (@pxref{Open,
GDBM_READER}).
-@kwindex GDBM_UNKNOWN_UPDATE
-@item GDBM_UNKNOWN_UPDATE
-Currently unused. Reserved for future uses.
-
@kwindex GDBM_ITEM_NOT_FOUND
@item GDBM_ITEM_NOT_FOUND
Requested item was not found. This error is set by @code{gdbm_delete}
@@ -1649,6 +1645,11 @@ detailed description of recovery functions.
@kwindex GDBM_BACKUP_FAILED
@item GDBM_BACKUP_FAILED
The GDBM engine is unable to create backup copy of the file.
+
+@kwindex GDBM_DIR_OVERFLOW
+@item GDBM_DIR_OVERFLOW
+Bucket directory would overflow the size limit during an attempt to split
+hash bucket. This error can occur while storing a new key.
@end table
@node Compatibility

Return to:

Send suggestions and report system problems to the System administrator.