This is the mail archive of the mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFC: NSS prototypes

Thorsten Kukuk <> writes:

> I could use them, but struct __netgrent can only handle the case 
> where you have one module in the /etc/nsswitch.conf netgroup line,
> not more. One module will overwrite the data from the previous
> module.

If you look closely you'll see that the reason why the structure is
passed to setnetgrent is to get around the problem of having a static
buffer and also to allow multi-threaded applications.  I remember that
the NIS stuff had some limitations but I think at least the
multi-threaded use should be possible.

I don't care enough about this to argue and since I won't do the
implementation myself I leave it up to you.  Please provide some kind
of documentation about the limitations (perhaps in the FAQ).

---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]