Corinna or Pierre please comment? [ Re: setuid() problem when disconnected from PDC under 1.3.12-2]

Corinna Vinschen
Fri Jul 19 04:37:00 GMT 2002

On Thu, Jul 18, 2002 at 12:40:11PM -0400, Pierre A. Humblet wrote:
> By the way, 
>    struct __group32 *gr;
>    if (gr->gr_gid == pw->pw_gid)
>  causes a compiler warning about signed/unsigned comparison.
>  struct passwd has an "int pw_gid" field. Is that posix?

It's newlib.  Just cast it.

> I am also working on a setgroup().



Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-developers mailing list