mirror of
https://repo.or.cz/socat.git
synced 2025-07-07 13:26:33 +00:00
Corrected lots of misspellings etc.
This commit is contained in:
parent
d9d06eb587
commit
52e2e5a277
36 changed files with 108 additions and 1896 deletions
|
@ -580,7 +580,7 @@ int getusergroups(const char *user, gid_t *list, int *ngroups) {
|
|||
/* we prefer getgrouplist because it may be much faster with many groups, but it is not standard */
|
||||
gid_t grp, twogrps[2];
|
||||
int two = 2;
|
||||
/* getgrouplist requires to pass an extra group id, typically the users primary group, that is then added to the supplementary group list. We don't want such an additional group in the result, but there is not "unspecified" gid value available. Thus we try to find an abitrary supplementary group id that we then pass in a second call to getgrouplist. */
|
||||
/* getgrouplist requires to pass an extra group id, typically the users primary group, that is then added to the supplementary group list. We don't want such an additional group in the result, but there is not "unspecified" gid value available. Thus we try to find an arbitrary supplementary group id that we then pass in a second call to getgrouplist. */
|
||||
grp = 0;
|
||||
Getgrouplist(user, grp, twogrps, &two);
|
||||
if (two == 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue