Philip Martin <philip.mar...@wandisco.com> writes:

> Stefan Sperling <s...@elego.de> writes:
>
>> The 'pool' parmeter is unused.
>>
>>> +  struct group *grp;
>>> +  char **gmem;
>>> +
>>> +  if ((grp = getgrnam(group)) == NULL)
>>
>> It would be nice if APR offered an interface to this function.
>> I checked but couldn't find one.
>
> APR has apr_gid_t, apr_gid_get(), apr_gid_name_get(), etc.  Could we use
> those?

No, probably not.  We could get the user's group ID and match that, but
I don't think we could ask whether the user is part of an arbitrary
group.

Does Windows offer a comparable concept?  If so then we should attempt
to write the Subversion code using a generic API we can push to APR.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Reply via email to