diff options
author | Christopher Faylor <me@cgf.cx> | 2003-02-01 21:41:29 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-02-01 21:41:29 +0300 |
commit | 6688a0618e8cbdfb89b3fd3c670dcd913cd22a08 (patch) | |
tree | bfa6a15ece248ad932ad1cc8dbca23a07cec47ec /winsup/cygwin/pwdgrp.h | |
parent | 05d2a9a4fb0d5fb79f9696dd41dd1010f4eb2b24 (diff) |
* grp.cc (getgrent32): Only refresh group entries when at beginning.
(internal_getgrsid): Only refresh if uninitialized.
(internal_getgrent): Ditto.
* passwd.cc (getpwent): Only refresh passwd entries when at beginning.
(pwdgrp::read_passwd): linebuf *cannot* be NO_COPY.
(internal_getpwsid): Only refresh if uninitialized.
(getpass): No need to refresh passwd data here.
* pwdgrp.h (refresh): Eliminate default.
Diffstat (limited to 'winsup/cygwin/pwdgrp.h')
-rw-r--r-- | winsup/cygwin/pwdgrp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pwdgrp.h b/winsup/cygwin/pwdgrp.h index 51b489f7e..738ee601c 100644 --- a/winsup/cygwin/pwdgrp.h +++ b/winsup/cygwin/pwdgrp.h @@ -67,7 +67,7 @@ public: int curr_lines; void load (const char *); - void refresh (bool check = true) + void refresh (bool check) { if (!check && initialized) return; |