From owner-freebsd-arch Wed Apr 25 10:48:59 2001 Delivered-To: freebsd-arch@freebsd.org Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by hub.freebsd.org (Postfix) with ESMTP id 6636937B423 for ; Wed, 25 Apr 2001 10:48:56 -0700 (PDT) (envelope-from ghelmer@palisadesys.com) Received: from CAPELLA (capella.palisadesys.com [192.188.162.112]) (authenticated (0 bits)) by magellan.palisadesys.com (8.11.2/8.11.2) with ESMTP id f3PHmnZ28561 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO); Wed, 25 Apr 2001 12:48:49 -0500 From: "Guy Helmer" To: "Alfred Perlstein" , "Peter Pentchev" Cc: Subject: RE: gid_t vs. plain int Date: Wed, 25 Apr 2001 12:49:26 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20010425095347.I1790@fw.wintelcom.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, April 25, 2001 11:54 AM Alfred Perlstein wrote: > * 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. PR 22210 addresses this issue and a fix, along with comments from Garrett Wollman about his anticipated fix. However, the PR is over six months old :-) Guy Guy Helmer, Ph.D. http://www.palisadesys.com/~ghelmer/ Sr. Software Engineer, Palisade Systems ghelmer@palisadesys.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message