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 | |||
@@ -1459,6 +1459,11 @@ the file it tries to open has a wrong magic number. | |||
1459 | @item GDBM_BAD_OPEN_FLAGS | 1459 | @item GDBM_BAD_OPEN_FLAGS |
1460 | Set by the @code{gdbm_export} function if supplied an invalid | 1460 | Set by the @code{gdbm_export} function if supplied an invalid |
1461 | @var{flags} argument. @xref{Flat files}. | 1461 | @var{flags} argument. @xref{Flat files}. |
1462 | |||
1463 | @kwindex GDBM_FILE_STAT_ERROR | ||
1464 | @item GDBM_FILE_STAT_ERROR | ||
1465 | Getting information about a disk file failed. The system @code{errno} | ||
1466 | will give more details about the error. | ||
1462 | @end table | 1467 | @end table |
1463 | 1468 | ||
1464 | @node Compatibility | 1469 | @node Compatibility |