Switching /etc/*.db from bdb to tinycdb
Baptiste Daroussin
bapt at freebsd.org
Wed May 2 13:45:52 UTC 2012
On Wed, May 02, 2012 at 04:02:35PM +0200, Luigi Rizzo wrote:
> On Wed, May 02, 2012 at 02:31:49PM +0200, Baptiste Daroussin wrote:
> ...
> > > > Why importing to libc? to allow all the get*ent to parse the /etc/*.db
> > > > files
> > > >
> > >
> > > just curious, where do we have the bdb 1.85 routines now ?
> > > Are they all in libc, or split between libc and libutil ?
> >
> > All in libc
>
> ok then it makes sense to preserve the structure and have
> everything in libc as des suggested. Just a curiosity again,
> any estimate of code size ?
>
That is pretty small:
545 cdb.c
76 cdb_find.c
81 cdb_findnext.c
19 cdb_hash.c
113 cdb_init.c
184 cdb_make.c
50 cdb_make_add.c
204 cdb_make_put.c
100 cdb_seek.c
29 cdb_seq.c
18 cdb_unpack.c
126 cdb.h
41 cdb_int.h
1586 total
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20120502/af1a9928/attachment.pgp
More information about the freebsd-arch
mailing list