From owner-cvs-all Fri May 17 0: 7: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 8C61C37B406; Fri, 17 May 2002 00:06:58 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id 6C0F3AE1FE; Fri, 17 May 2002 00:06:58 -0700 (PDT) Date: Fri, 17 May 2002 00:06:58 -0700 From: Alfred Perlstein To: "J. Mallett" Cc: 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: <20020517070658.GH20683@elvis.mu.org> References: <200205170527.g4H5Rra32389@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200205170527.g4H5Rra32389@freefall.freebsd.org> User-Agent: Mutt/1.3.27i 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 * 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. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message