Date: Wed, 11 Jun 2003 16:46:18 -0500 From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: Doug Barton <DougB@FreeBSD.org> Cc: freebsd-bugs@FreeBSD.org Subject: Re: conf/53077: Update /etc/services 4031 Message-ID: <20030611214618.GA34231@over-yonder.net> In-Reply-To: <20030611143723.U26376@12-234-22-23.pyvrag.nggov.pbz> References: <200306092302.h59N2qFx085168@freefall.freebsd.org> <20030610144500.GS28798@over-yonder.net> <20030611143723.U26376@12-234-22-23.pyvrag.nggov.pbz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 11, 2003 at 02:39:05PM -0700 I heard the voice of Doug Barton, and lo! it spake thus: > > Please see the extensive discussion of this topic in the archives. > Making the db is the easy part... converting all consumers of that > information to read it from the db is not. Shouldn't (most, anyway) consumer use getservby*() to access it? Presumably, just making the db and converting those functions would catch most things using it; the ones that insist on hand-rolling lookups could continue to read the flat file, just as there's probably plenty of programs out there that still manually parse a flat /etc/passwd. Less efficient, of course, but no less so than everything already is now. Are there actually so many programs not using getservby*(), that just converting that in libc wouldn't yield gains significant enough to be worthwhile? -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030611214618.GA34231>