]> git.ipfire.org Git - ipfire-2.x.git/commit
gdbm: Update to version 1.24
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 25 Aug 2024 19:11:05 +0000 (21:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 26 Aug 2024 08:14:05 +0000 (08:14 +0000)
commita2645d146ecec4209a316af85b087a2d2cd8049c
treedf037b27105f7916405174760d262b02566e0a17
parente376abe95cdfffc21c8e662313a3ac409808f9f9
gdbm: Update to version 1.24

- Update from version 1.23 to 1.24
- Update of rootfile not required
- Changelog
    1.24
* New gdbm_load option: --update
The --update (-U) option instructs gdbm_load to update an existing
 database.
* Fix semantics of gdbm_load -r
The --replace (-r) is valid only when used together with --update.
* Use getline in gdbmtool shell.
* New function: gdbm_load_from_file_ext
In contrast to gdbm_load and gdbm_load_from_file, which derive
the value of the flag parameter for gdbm_open from the value
of their "replace" argument, this function allows the caller to
specify it explicitly.  The prototype is:
  int gdbm_load_from_file_ext (GDBM_FILE *pdbf, FILE *fp,
       int flags, int replace,
       int meta_mask,
       unsigned long *line);
* Bugfixes
** Fix binary dump format for key and/or data of zero size.
   (see https://puszcza.gnu.org.ua/bugs/?565)
** Fix location tracking and recover command in gdbtool.
   (see https://puszcza.gnu.org.ua/bugs/?566)
** Fix possible buffer underflow in gdbmload.
** Ensure any padding bytes in avail_elem structure are filled with 0.
   (fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031276)
** Improve the documentation.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/gdbm