This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


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

Re: NSS and db


Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de> writes:

> I wonder what the serial number is used for. I guessed that there is a
> convention that getXXXent() has to return entries in the same order as
> they appear in /etc/passwd, which would IMHO not be a very good idea.
> 
> Leaving out the serial number entry could reduce the size of the DB by
> about one third!

Why should we have added this if it wasn't necessary?  YOu need it for
the getXXent() functions.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

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