This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Proposal: check and read /etc/{passwd,group} less frequently.
- To: cygwin-developers at cygwin dot com
- Subject: Proposal: check and read /etc/{passwd,group} less frequently.
- From: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- Date: 14 Sep 2001 15:49:11 +0900
- Reply-To: cygwin-developers at cygwin dot com
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