get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)
Andrey Repin
anrdaemon@yandex.ru
Wed Feb 12 12:05:00 GMT 2014
Greetings, Corinna Vinschen!
> Either way, implementing a full getpwent requires to return the local
> users, the users of the primary domain, and the users of all trusted
> domains. I know of domains with 200K users and there are probably
> bigger ones. How long should a search take when a user presses <TAB>
> after the ~? And then, shall the process running the getpwent actually
> cache all of them? This seems really excessive.
IMO, such practice should be actually discouraged. I mean, listing ALL users
of ALL... well, you got it. For the reasons you mentioned above - the possible
results of such operation are largely unpredictable.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 12.02.2014, <15:49>
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
More information about the Cygwin
mailing list