| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-developers-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin-developers AT sources DOT redhat DOT com |
| To: | cygwin-developers AT cygwin DOT com |
| Subject: | Proposal: check and read /etc/{passwd,group} less frequently. |
| Reply-To: | cygwin-developers AT cygwin DOT com |
| Mime-Version: | 1.0 (generated by tm-edit 7.106) |
| From: | Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> |
| Date: | 14 Sep 2001 15:49:11 +0900 |
| Message-ID: | <s1svgimqnbs.fsf@jaist.ac.jp> |
| Lines: | 10 |
| X-Mailer: | Gnus v5.3/Emacs 19.34 |
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 AT jaist DOT ac DOT jp>
| HOKURIKU Center for Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |