diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-02-21 10:01:00 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-02-21 10:01:00 +0000 |
commit | 98cc373860377673c6634edcb529b21e10807618 (patch) | |
tree | 61814081400e629eb45a8b7026e659b1b3d48697 /winsup/cygwin/grp.cc | |
parent | 6480b2ae76205f9a8c278c8f0ce5ff1c5b146846 (diff) | |
download | newlib-98cc373860377673c6634edcb529b21e10807618.zip newlib-98cc373860377673c6634edcb529b21e10807618.tar.gz newlib-98cc373860377673c6634edcb529b21e10807618.tar.bz2 |
* pwdgrp.h (pwdgrp::fetch_account_from_windows): Add bool parameter
to declaration, set to true by default.
* uinfo.cc (pwdgrp::fetch_account_from_windows): Add bool parameter
"ugid_caching". Only add account to ugid_cache if set to true.
* grp.cc (gr_ent::enumerate_local): Call fetch_account_from_windows
with ugid_caching parameter set to false.
* passwd.cc (pg_ent::enumerate_builtin): Ditto.
(pg_ent::enumerate_sam): Ditto.
(pg_ent::enumerate_ad): Ditto.
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r-- | winsup/cygwin/grp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc index c82efc9..e4aed4d 100644 --- a/winsup/cygwin/grp.cc +++ b/winsup/cygwin/grp.cc @@ -381,7 +381,7 @@ gr_ent::enumerate_local () fetch_user_arg_t arg; arg.type = SID_arg; arg.sid = &sid; - char *line = pg.fetch_account_from_windows (arg, true); + char *line = pg.fetch_account_from_windows (arg, true, false); if (line) return pg.add_account_post_fetch (line, false); } |