From owner-cvs-all Fri May 17 0:15:22 2002 Delivered-To: cvs-all@freebsd.org Received: from durham-ar1-4-64-252-019.durham.dsl-verizon.net (durham-ar1-4-64-252-019.durham.dsl-verizon.net [4.64.252.19]) by hub.freebsd.org (Postfix) with SMTP id A402137B410 for ; Fri, 17 May 2002 00:14:58 -0700 (PDT) Received: (qmail 26250 invoked by uid 1001); 17 May 2002 07:15:33 -0000 Date: Fri, 17 May 2002 07:15:32 +0000 From: "J. Mallett" To: Alfred Perlstein Cc: "J. Mallett" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/rpcbind check_bound.c rpcb_svc_4.c rpcb_svc_com.c rpcbind.c Message-ID: <20020517071532.GA1511@FreeBSD.ORG> References: <200205170527.g4H5Rra32389@freefall.freebsd.org> <20020517070658.GH20683@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020517070658.GH20683@elvis.mu.org> User-Agent: Mutt/1.3.27i Organisation: The FreeBSD Project Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, May 17, 2002 at 12:06:58AM -0700, Alfred Perlstein wrote: > * J. Mallett [020516 22:27] wrote: > > jmallett 2002/05/16 22:27:53 PDT > > > > Modified files: > > usr.sbin/rpcbind check_bound.c rpcb_svc_4.c rpcb_svc_com.c > > rpcbind.c > > Log: > > Stop this program's abuse of malloc(3). Its return value doesn't need these > > ugly explicit casts, and its argument doesn't need explicitly cast to u_int, > > especially if sizeof() is being used. > > from style(9): > > Casts and sizeof's are not followed by a space. Note that indent(1) does > not understand this rule. I didn't change the existing indentation/spacing style, on purpose. -- jmallett@FreeBSD.org | C, MIPS, POSIX, UNIX, BSD, IRC Geek. http://www.FreeBSD.org | The Power to Serve Vote for me for FreeBSD core or the cute little bunny gets it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message