Yup, only this one's my first TCL-8.0-native extension, plus has an object-oriented feel the others lack. (Well, the one I looked at, anyway.) I created it when I decided my LifeLines interface was a dead-end and needed something else to manage the indexed files.
As with my other interfaces, the way I build it requires recompiling GDBM with -fPIC in CFLAGS. (This time I kept two versions, libgdbm.a for static linking and libgdbm_pic.a for this kind of use. The NetBSD distribution ships some of its libraries that way.)
This was another of those couple-of-days projects - gawd but TCL is beautiful inside (with the possible exception of namespaces, but that may improve)! It's so pleasant to combine it with a well-interfaced library like GDBM, it hardly seems like effort at all. (Being unemployed, I hesitate to refer to it as "work"; someone might get the idea I get paid for this...)
::gdbm::list
now gives qualified names.
1997 Nov 12: fixed free-too-soon bug in db names
1999 Feb 14: obsoleted ::gdbm::list
. (Shows
how good my V-days are, huh?)
1999 May 20: added NetBSD/i386 binaries.