From owner-freebsd-arch Wed Apr 25 9:53:52 2001 Delivered-To: freebsd-arch@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id DF41A37B423 for ; Wed, 25 Apr 2001 09:53:49 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3PGrl824270; Wed, 25 Apr 2001 09:53:47 -0700 (PDT) Date: Wed, 25 Apr 2001 09:53:47 -0700 From: Alfred Perlstein To: Peter Pentchev Cc: arch@FreeBSD.ORG Subject: Re: gid_t vs. plain int Message-ID: <20010425095347.I1790@fw.wintelcom.net> References: <20010425183640.C54687@ringworld.oblivion.bg> <20010425184443.D54687@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010425184443.D54687@ringworld.oblivion.bg>; from roam@orbitel.bg on Wed, Apr 25, 2001 at 06:44:43PM +0300 X-all-your-base: are belong to us. Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Peter Pentchev [010425 08:46] wrote: > On Wed, Apr 25, 2001 at 06:36:40PM +0300, Peter Pentchev wrote: > > Hi, > > > > OK. I've (kinda) had enough. > > > > Is there a reason that struct group in does not define 'gr_gid' > > of course that should read , not . > > > as a gid_t value, but as a plain int? This makes all kinds of things > > go berserk with gcc -Wall -W, and causes dozens of (totally unneeded) > > casts. > > > > Is there some standard that says pw_gid is gid_t, but gr_gid is int? > > If not, would anyone be interested in patches (yes, I'm prepared to sweep > > the whole source tree), making gr_gid a gid_t? It looks like a worthy task, I would ask Bruce and Wollman about it before taking it on if it looks like a lot of work just to make sure it's the right thing. -- -Alfred Perlstein - [alfred@freebsd.org] Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message