diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-17 17:57:30 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-17 17:57:30 +0000 |
commit | e22604d840c4db32fed14e59f56c5e4f419692d8 (patch) | |
tree | dc3260374404d1ce013bbcd1a29164b3e14aef7e /doc/gdbm.texinfo | |
parent | 360cc1a82c0bebebd70f4890a8dcaa78891c032a (diff) | |
download | gdbm-e22604d840c4db32fed14e59f56c5e4f419692d8.tar.gz gdbm-e22604d840c4db32fed14e59f56c5e4f419692d8.tar.bz2 |
Introduce new error code.
* configure.ac, NEWS: Raise patchlevel to 90.
* src/gdbm.h.in: Enclose entire file in conditional
extern "C".
(GDBM_FILE_STAT_ERROR): New error code.
(_GDBM_MAX_ERRNO): Update.
* src/gdbmerrno.c (gdbm_errlist): Update.
* src/gdbmopen.c: Set GDBM_FILE_STAT_ERROR on fstat
failure.
* src/gdbmreorg.c: Likewise.
* src/mmap.c: Likewise.
* src/systems.h: Include errno.h
* gdbm.texinfo: Document GDBM_FILE_STAT_ERROR.
Diffstat (limited to 'doc/gdbm.texinfo')
-rw-r--r-- | doc/gdbm.texinfo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gdbm.texinfo b/doc/gdbm.texinfo index 3463b84..98e3bc3 100644 --- a/doc/gdbm.texinfo +++ b/doc/gdbm.texinfo @@ -1461,2 +1461,7 @@ Set by the @code{gdbm_export} function if supplied an invalid @var{flags} argument. @xref{Flat files}. + +@kwindex GDBM_FILE_STAT_ERROR +@item GDBM_FILE_STAT_ERROR +Getting information about a disk file failed. The system @code{errno} +will give more details about the error. @end table |