initgroups
Corinna Vinschen
cygwin-patches@cygwin.com
Wed Sep 11 07:12:00 GMT 2002
On Wed, Sep 11, 2002 at 09:17:56AM -0400, Pierre A. Humblet wrote:
> Corinna Vinschen wrote:
>
> > > P.S.: Why is there a need to define ILLEGAL_GID? It
> > > is never used to set a value.
> >
> > It's used in chown_worker() to check against gid -1 on input.
>
> O.K, it's used to check against -1, but -1 is never used as
> a reserved value. In other words, why is the largest possible
> gid value forbidden?
It's not forbidden in the first place, it has a special meaning
when used as parameter to chown(), see
http://www.opengroup.org/onlinepubs/007904975/functions/chown.html
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
More information about the Cygwin-patches
mailing list