[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getservent() bug (on linux)
From: |
Ulrich Drepper |
Subject: |
Re: getservent() bug (on linux) |
Date: |
24 Jul 2002 10:31:19 -0700 |
On Wed, 2002-07-24 at 08:04, Kevin Layer wrote:
> % grep tcpmux /etc/services
> tcpmux 1/tcp # TCP port service
> multiplexer
> tcpmux 1/udp # TCP port service
> multiplexer
> % gcc -o foo foo.c
> % ./foo | grep tcpmux
> tcpmux: 256, tcp
> tcpmux: 256, udp
> tcpmux: 256, tcp
> tcpmux: 256, udp
>
> On FreeBSD it does not have this duplicate behavior.
>
> Is this a known bug?
There is no bug. If you've listed more than one NSS db in
/etc/nsswitch.conf for the services database you want this to happen.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
signature.asc
Description: This is a digitally signed message part