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 /MANIFEST | |
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 'MANIFEST')
-rw-r--r-- | MANIFEST | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4221,8 +4221,10 @@ ext/GDBM_File/GDBM_File.pm GDBM extension Perl module ext/GDBM_File/GDBM_File.xs GDBM extension external subroutines ext/GDBM_File/hints/sco.pl Hint for GDBM_File for named architecture ext/GDBM_File/Makefile.PL GDBM extension makefile writer +ext/GDBM_File/t/count.t Test if the count method works ext/GDBM_File/t/fatal.t Test the fatal_func argument to gdbm_open ext/GDBM_File/t/gdbm.t See if GDBM_File works +ext/GDBM_File/t/opt.t Test if gdbm_setopt and derived methods work ext/GDBM_File/typemap GDBM extension interface types ext/Hash-Util/Changes Change history of Hash::Util ext/Hash-Util/lib/Hash/Util.pm Hash::Util |