This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: get rid of getpwent?


On Feb 13 18:50, Achim Gratz wrote:
> Corinna Vinschen writes:
> > Caching is wonderful for the usual requests for single entries from the
> > DB, and for this we have already two caches, the LSA cache and Cygwin's
> > own cache.  But caching doesn't help at all when enumerating.
> 
> Would it be possible to only look (for user name completion purposes)Âat
> the current user plus whatever is in %SystemDrive%\Users plus whatever
> is found in /etc/passwd?  That way no beans are spilled about domain
> users that couldn't be gleaned from the local file system and in almost
> all cases that's the list one would want to complete from anyway.

Oh, hmm.  Well, it might be possible, but somehow I'm not excited by the
idea.  While it looks like getpwent is mostly used for this purpose, you
don't really know it.  I think I'll try to implement it fully and then
let the admin decide what to allow.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpTDGPUmihT8.pgp
Description: PGP signature


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