delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/07/19/07:37:27

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Fri, 19 Jul 2002 13:37:20 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: Corinna or Pierre please comment? [jason AT tishler DOT net: Re: setuid() problem when disconnected from PDC under 1.3.12-2]
Message-ID: <20020719133720.K6932@cygbert.vinschen.de>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20020716191735 DOT GB1692 AT tishler DOT net> <20020717121704 DOT GA1260 AT tishler DOT net> <20020717142259 DOT E6932 AT cygbert DOT vinschen DOT de> <20020717123351 DOT GB1260 AT tishler DOT net> <20020717145642 DOT G6932 AT cygbert DOT vinschen DOT de> <3D358707 DOT 509E8CD3 AT ieee DOT org> <20020717163922 DOT GD1260 AT tishler DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20020717222627 DOT 007fd3e0 AT mail DOT attbi DOT com> <20020718105632 DOT R6932 AT cygbert DOT vinschen DOT de> <3D36EF6B DOT E6916EC8 AT ieee DOT org>
Mime-Version: 1.0
In-Reply-To: <3D36EF6B.E6916EC8@ieee.org>
User-Agent: Mutt/1.3.22.1i

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 AT cygwin DOT com
Red Hat, Inc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019