diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-12-24 15:33:23 +0200 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2021-01-06 23:44:47 +0000 |
commit | e03e7cdb6e3945a4eccf1c80f087b043ef8045f5 (patch) | |
tree | 8ab1a60a1577c4db81ebeb12d0e4ea87364532d1 /AUTHORS | |
parent | 2c4406d7c5eec7fe167c8114229de7fbaa8a96d5 (diff) | |
download | perl-e03e7cdb6e3945a4eccf1c80f087b043ef8045f5.tar.gz |
Improve GDBM_File
This patch implements new functions and improves compatibility with
new versions of GDBM.
* ext/GDBM_File/GDBM_File.xs: Define interface methods for
functions in newer GDBM versions.
(GDBM_version): New static method. Return the version number
(string in scalar, array of numbers in list context). Provide
heurisics for determining the library version for GDBM prior
to 1.9.
(gdbm_close): Propagate return value from the library call.
(gdbm_DESTROY): Croak if closing the database fails.
(gdbm_UNTIE): New method.
(gdbm_FETCH): Check database validity. Croak if gdbm_fetch returns
error (except GDBM_ITEM_NOT_FOUND).
(gdbm_STORE,gdbm_DELETE): Likewise.
(gdbm_FIRSTKEY,gdbm_NEXTKEY): Likewise.
(gdbm_EXISTS): Check database validity.
(gdbm_errno): New function.
(gdbm_syserrno): New function.
(gdbm_strerror): New function.
(gdbm_clear_error): New function.
(gdbm_needs_recovery): New function.
(gdbm_recover): New function.
(gdbm_count): New function.
* ext/GDBM_File/typemap (gdbm_count_t): Map to T_COUNT.
* ext/GDBM_File/GDBM_File.pm: Document everything. Raise $VERSION.
* MANIFEST: Update.
* AUTHORS: Update.
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1160,6 +1160,7 @@ Sebastian Wittmeier <Sebastian.Wittmeier@ginko.de> Sebastien Barre <Sebastien.Barre@utc.fr> Sergey Alekseev <varnie29a@mail.ru> Sergey Aleynikov <sergey.aleynikov@gmail.com> +Sergey Poznyakoff <gray@gnu.org> Sergiy Borodych <bor@cpan.org> Sevan Janiyan <venture37@geeklan.co.uk> Shawn <svicalifornia@gmail.com> |