diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-11-28 11:44:39 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-11-28 11:44:39 +0300 |
commit | 3bde24b892f7b9cb4e6b8fab606093b5ef4c8424 (patch) | |
tree | d02ee848c8e8eee80a9343608f1ca78b8f9668f2 /winsup | |
parent | f3939c059c4594d537bed9e9b2a5f68ddc1ae00f (diff) |
* mkgroup.c (main): Call enum_local_groups with offset 0x30000 for local
machine, too.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/utils/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/utils/mkgroup.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 0442901d1..83953c601 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2014-11-28 Corinna Vinschen <corinna@vinschen.de> + + * mkgroup.c (main): Call enum_local_groups with offset 0x30000 for local + machine, too. + 2014-11-27 Corinna Vinschen <corinna@vinschen.de> * mkgroup.c (main): Call enum_groups with offset 0x30000 for local diff --git a/winsup/utils/mkgroup.c b/winsup/utils/mkgroup.c index 32fb6805b..f70bae4ae 100644 --- a/winsup/utils/mkgroup.c +++ b/winsup/utils/mkgroup.c @@ -779,8 +779,9 @@ main (int argc, char **argv) { if (domlist[i].domain || !domlist[i].str) continue; - if (!enum_local_groups (domlist + i, sep_char, off, disp_groupname, - print_builtin, print_current)) + if (!enum_local_groups (domlist + i, sep_char, + (nss_src == NSS_SRC_FILES) ? 0x30000 : off, + disp_groupname, print_builtin, print_current)) { enum_groups (domlist + i, sep_char, (nss_src == NSS_SRC_FILES) ? 0x30000 : off, |