conf/53077: Update /etc/services 4031
Matthew D. Fuller
fullermd at over-yonder.net
Wed Jun 11 14:46:33 PDT 2003
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 at 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"
More information about the freebsd-bugs
mailing list