This is the mail archive of the cygwin-developers@cygwin.com 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]

Proposal: check and read /etc/{passwd,group} less frequently.


I feel that there is no need to check and read
/etc/{passwd,group} on every getpw* and getgw* functions.

Is it enough frequent that the check is held only in internal_getlogin?
If so, read_etc_{passwd,group} don't need to support multi threads
and can be more simple.
____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  Center for Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology


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