This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: initgroups


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? 

Pierre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]