This is the mail archive of the cygwin-developers@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: Corinna or Pierre please comment? [jason@tishler.net: Re: setuid() problem when disconnected from PDC under 1.3.12-2]


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().

Cool!

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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