diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-09 11:24:56 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-09 11:24:56 +0000 |
commit | 65c1e543036bb84666c3174c58289f572b6ad948 (patch) | |
tree | dfb0e8ef1d289ad6ff8b69af177d0f4025dbff1d /compat/Makefile.am | |
parent | 926977cf9d571e12c04162613728cabebe073c53 (diff) | |
download | gdbm-65c1e543036bb84666c3174c58289f572b6ad948.tar.gz gdbm-65c1e543036bb84666c3174c58289f572b6ad948.tar.bz2 |
Implement dbm_error and dbm_clearerr.
* compat/ndbm.h (__gdbm_error_to_ndbm): New macro
(dbm_error,dbm_clearerr): Provide prototypes instead of
the macros.
(DBM) <_dbm_errno>: New member.
* compat/dbmerr.c: New file.
* compat/Makefile.am (NDBM_CF): Add dbmerr.c
* compat/dbmdelete.c: Make sure _dbm_errno reflects the
actual error state.
* compat/dbmfetch.c: Likewise.
* compat/dbmseq.c: Likewise.
* compat/dbmstore.c: Likewise.
Diffstat (limited to 'compat/Makefile.am')
-rw-r--r-- | compat/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/Makefile.am b/compat/Makefile.am index a0ede80..e94a844 100644 --- a/compat/Makefile.am +++ b/compat/Makefile.am @@ -38,6 +38,7 @@ DBM_CF=\ NDBM_CF=\ dbmopen.c\ dbmdelete.c\ + dbmerr.c\ dbmfetch.c\ dbmstore.c\ dbmseq.c\ |