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? (Was: cygwin-1.7.28 getpwent header declaration changes ?)


Greetings, Ken Brown!

> What about the following compromise:  If /etc/passwd exists, then
> getpwent behaves as it does currently.  Otherwise, it returns a handful 
> of entries, or possibly just the current user.  This gives users a 
> choice.  If tab-completion in this situation is important to them, they 
> can keep their /etc/passwd file.

Makes sense. You get your current user name substituted in all cases, if you
want more - you fill in the list of the names you want to see.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 12.02.2014, <21:03>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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