Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2012 15:45:47 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Switching /etc/*.db from bdb to tinycdb
Message-ID:  <20120502134546.GM31034@azathoth.lan>
In-Reply-To: <20120502140235.GA91732@onelab2.iet.unipi.it>
References:  <20120502114115.GG31034@azathoth.lan> <CA%2BhQ2%2Bgv%2BQ7SXbK-G5Lybjt4XOF_b3EvyxtQiOCL7pGxmgWRcg@mail.gmail.com> <20120502123149.GI31034@azathoth.lan> <20120502140235.GA91732@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help

--tDYGg60iReQ7u8wj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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/*=
=2Edb
> > > > files
> > > >
> > >=20
> > > just curious, where do we have  the bdb 1.85 routines now ?
> > > Are they all in libc, or split between libc and libutil ?
> >=20
> > All in libc
>=20
> 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 ?
>=20

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


--tDYGg60iReQ7u8wj
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk+hOooACgkQ8kTtMUmk6EwmMACfa+2OkTVU/F+pdG2KLFGzLzVk
AW8AnjtkB2ycFQDNMeRcIHw3sql7j9Gu
=1TND
-----END PGP SIGNATURE-----

--tDYGg60iReQ7u8wj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120502134546.GM31034>