From owner-freebsd-arch Wed Apr 25 8:46:29 2001 Delivered-To: freebsd-arch@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 6FAD537B424 for ; Wed, 25 Apr 2001 08:46:26 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 57036 invoked by uid 1000); 25 Apr 2001 15:44:43 -0000 Date: Wed, 25 Apr 2001 18:44:43 +0300 From: Peter Pentchev To: arch@FreeBSD.org Subject: Re: gid_t vs. plain int Message-ID: <20010425184443.D54687@ringworld.oblivion.bg> Mail-Followup-To: arch@FreeBSD.org References: <20010425183640.C54687@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: <20010425183640.C54687@ringworld.oblivion.bg>; from roam@orbitel.bg on Wed, Apr 25, 2001 at 06:36:40PM +0300 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? G'luck, Peter -- This sentence contains exactly threee erors. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message