Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use MY_GID() instead of getgid().
[rsync/rsync.git]
/
getgroups.c
diff --git
a/getgroups.c
b/getgroups.c
index
4a10fe7
..
8dfe264
100644
(file)
--- a/
getgroups.c
+++ b/
getgroups.c
@@
-36,7
+36,7
@@
main(UNUSED(int argc), UNUSED(char *argv[]))
{
int n, i;
gid_t list[NGROUPS_MAX];
- gid_t gid =
getgid
();
+ gid_t gid =
MY_GID
();
int gid_in_list = 0;
if ((n = getgroups(NGROUPS_MAX, list)) < 0) {