Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 08:11:05 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Doug Barton <DougB@DougBarton.net>
Cc:        Colin Percival <colin.percival@wadham.ox.ac.uk>
Subject:   Re: cvs commit: src/etc services
Message-ID:  <xzpk6vq9yfa.fsf@dwp.des.no>
In-Reply-To: <4128F90D.8080506@DougBarton.net> (Doug Barton's message of "Sun, 22 Aug 2004 12:50:37 -0700")
References:  <200408161152.i7GBqMlq084661@repoman.freebsd.org> <6.1.0.6.1.20040816045454.02a34168@popserver.sfu.ca> <4128F90D.8080506@DougBarton.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <DougB@DougBarton.net> writes:
> Finally, the solution that has most often been discussed for improving
> the performance of getservbyname() and friends is a Berkeley db
> implementation similar to the way login.conf is done now.

It should be pretty simple to extend getservbyname() to use a db file
if one is available and fall back on the text file otherwise.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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