Subject: Re: /etc/services duplicates - suggestion for fixes
To: Thilo Jeremias <jeremias@optushome.com.au>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-users
Date: 06/25/2007 17:35:44
On Jun 24,  9:57am, jeremias@optushome.com.au (Thilo Jeremias) wrote:
-- Subject: Re: /etc/services duplicates - suggestion for fixes

| Isn't that jut during  init / interrupt time (the open/stat) ?
| 
| I that case I believe it doesn't matter how inefficient that all is!
| (well not exactly doesn't but I wouldn't be worried too much - yet)
| 
| I'll prepare a patch, this week and post it on the list.
| 
| thilo

No, it is each time you call getaddrinfo with a port name. It would
open the services file/db multiple times.

christos