Glynn Clements wrote:
>
>
> Note that libgdbm also implements the dbm_* functions. You can take a
> program which uses the functions declared in ndbm.h and link it
> against libgdbm. You don't have to modify it.
>
> > Someone also pointed out the name of the library to link to in order to
> > utilize the old functions "-ldb" I believe....
>
> libdb also provides the dbm_* functions. However, it uses the libdb
> (aka `Berkeley DB' or `NEWDB') file format. If you need to read files
> which were created by libdbm or libgdbm, then you need to use one of
> these libraries rather than libdb.
>
> If you don't need to read existing dbm/gdbm files, then libdb's format
> is better, as it is architecture-independent.
>
Thanks for the info. Yes, and the latter case, linking against libdb proved
sufficient in compiling the code in it's original form prior to my modification
of it to utilize gdbm. Now I have 2 working versions. I can use the one compiled
from the origional dbm source code linked agaibnst -ldb or, the modified version
using the gnu gdbm functions. and compiled & linked against libgdbm.
/John
/ [EMAIL PROTECTED]
> --
> Glynn Clements <[EMAIL PROTECTED]>
--
email: [EMAIL PROTECTED]
Local mailserver , remote
Stamp out oppression!!