From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 11 14:46:32 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF9CD37B401; Wed, 11 Jun 2003 14:46:32 -0700 (PDT) Received: from regina.plastikos.com (216-107-106-250.wan.networktel.net [216.107.106.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05C9643FBF; Wed, 11 Jun 2003 14:46:32 -0700 (PDT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-156-171-156.jan.bellsouth.net [66.156.171.156]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by regina.plastikos.com (Postfix) with ESMTP id ED31E6EEB9; Wed, 11 Jun 2003 17:46:30 -0400 (EDT) Received: by mortis.over-yonder.net (Postfix, from userid 100) id CD94120F12; Wed, 11 Jun 2003 16:46:18 -0500 (CDT) Date: Wed, 11 Jun 2003 16:46:18 -0500 From: "Matthew D. Fuller" To: Doug Barton Message-ID: <20030611214618.GA34231@over-yonder.net> References: <200306092302.h59N2qFx085168@freefall.freebsd.org> <20030610144500.GS28798@over-yonder.net> <20030611143723.U26376@12-234-22-23.pyvrag.nggov.pbz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030611143723.U26376@12-234-22-23.pyvrag.nggov.pbz> User-Agent: Mutt/1.4.1i-fullermd.1 X-Editor: vi X-OS: FreeBSD cc: freebsd-bugs@FreeBSD.org Subject: Re: conf/53077: Update /etc/services 4031 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 21:46:33 -0000 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"