Ondřej Surý <ondrej <at> sury.org> writes:

> True, but gdbm is GPL and LGPL and that's a problem for many non-GPL
> applications using Berkeley DB now.

For applications that are not limited to the on-disc file format
compatibility, but just need an easy key/value storage API, like
gdbm users, you could just use the one from BSD libc (ndbm it is
called actually, I just looked, between the previous message and
this one).

https://www.mirbsd.org/man/ndbm.3

Or even:

https://www.mirbsd.org/man/dbm.3
https://www.mirbsd.org/man/db.3

Or the btree, hash, mpool, recno ones directly… (rcdb is a MirBSD
extension, a plain-text ASCII-based file format accessed using
the same API, but editable by $EDITOR by the sysadmin).

bye,
//mirabilos


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/loom.20140624t105605-...@post.gmane.org

Reply via email to