* grp.cc (parse_grp): Save empty array instead of
NULL in gr_mem if no supplementary group is given.
This commit is contained in:
parent
cf11ab4e66
commit
476839eb03
@ -1,3 +1,8 @@
|
||||
Mon Apr 03 13:58:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* grp.cc (parse_grp): Save empty array instead of
|
||||
NULL in gr_mem if no supplementary group is given.
|
||||
|
||||
Sun Apr 02 16:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* syscalls.cc (chown_worker): Use previous uid/gid if
|
||||
|
@ -92,7 +92,7 @@ parse_grp (struct group &grp, const char *line)
|
||||
grp.gr_mem = namearray;
|
||||
}
|
||||
else
|
||||
grp.gr_mem = NULL;
|
||||
grp.gr_mem = (char **) calloc (1, sizeof (char *));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user