on a disk file. The software was written by Philip A. Nelson.
| 2025-12-21 08:38:39 by Thomas Klausner | Files touched by this commit (1) |
Log message:
gdbm: follow redirect
|
| 2025-10-26 13:26:20 by Ryo ONODERA | Files touched by this commit (2) |
Log message:
databases/gdbm{,_compat}: Update to 1.26
Changelog:
Version 1.26, 2025-07-30
* Fixed build on musl libc
* Fixed build on MacOS
* Improved testsuite
Version 1.25, 2025-03-22
* New function: gdbm_open_ext
This function provides a general-purpose interface for opening and
creating GDBM files. It combines the possibilities of gdbm_open
and gdbm_fd_open and provides detailed control over database file
locking.
* New gdbmtool command: collisions
The command prints the collision chains for the current bucket, or
for the buckets identified by its arguments:
collisions
Display collisions for the current bucket.
collisions N
Display collisions for bucket N.
collisions N0 N1
Display collisions for the range of buckets [N0, N1].
* Pipelines in gdbmtool
The output of a gdbmtool command can be connected to the input of a
shell command using the traditional pipeline syntax.
* Fix a bug in block coalescing code
* Other bugfixes
|
| 2025-04-20 22:32:46 by Jonathan Schleifer | Files touched by this commit (1) |
Log message:
Fix building databases/gdbm with GCC 15
|
2025-01-11 14:57:43 by Ryo ONODERA | Files touched by this commit (3) |  |
Log message:
databases/{gdbm,gdbm_compat}: Update to 1.24
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.
Bugfixes
* Fix binary dump format for key and/or data of zero size (see bug #565)
* Fix location tracking and recover command in gdbtool (see bug #566)
* Fix possible buffer underflow in gdbmload.
* Ensure any padding bytes in avail_elem structure are filled with 0. This \
fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031276.
* Improve the documentation
|
| 2024-05-02 10:10:18 by Aleksey Cheusov | Files touched by this commit (1) |
Log message:
Sync including devel/gettext-lib/buildlink3.mk in buildlink3.mk and Makefile
|
| 2024-05-02 00:06:33 by Aleksey Cheusov | Files touched by this commit (3) |
Log message:
Add option "nls" enabled by default
|
2022-02-15 10:26:47 by Thomas Klausner | Files touched by this commit (3) |  |
Log message:
gdbm: update to 1.23.
Version 1.23, 2022-02-04
* Bucket cache switched from balanced tree to hash table
Change suggested by Terence Kelly.
* Speed up flushing the changed buckets on disk
* New option codes for gdbm_setopt
** GDBM_GETDBFORMAT
Return the database format.
** GDBM_GETDIRDEPTH
Return the directory depth, i.e. the number of initial (most significant)
bits in hash value that are interpreted as index to the directory.
** GDBM_GETBUCKETSIZE
Return maximum number of keys per bucket.
** GDBM_GETCACHEAUTO
Return the status of the automatic cache adjustment.
** GDBM_SETCACHEAUTO
Enable or disable automatic cache adjustment.
|
2021-11-01 19:37:06 by Thomas Klausner | Files touched by this commit (6) |  |
Log message:
gdbm: update to 1.22.
Version 1.22
* Fix file header validation
* Fix key verification in sequential access
* Fix testing with DejaGNU 1.6.3
* Fix stack overflow in print_usage
* Fix a leak of avail entry on pushing a new avail block
The leak would occur if the original avail table had odd number of entries.
* New gdbmtool variables: errorexit, errormask, trace, timing
"Errorexit" and "errormask" control which GDBM errors would \
cause the
program termination and emitting a diagnostic message,
correspondingly. Both variables are comma-delimited lists of error
codes.
The "trace" variable enables tracing of the gdbmtool commands.
The "timing" variable, when set, instructs gdbmtool to print time
spent in each command it runs.
* New gdbmtool options: -t (--trace), and -T (--timing)
|