From owner-cvs-all@FreeBSD.ORG Tue Jul 22 04:37:51 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F26D037B401; Tue, 22 Jul 2003 04:37:50 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DEFE43F3F; Tue, 22 Jul 2003 04:37:49 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id VAA18958; Tue, 22 Jul 2003 21:37:46 +1000 Date: Tue, 22 Jul 2003 21:37:44 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Mark Murray In-Reply-To: <200307212055.h6LKtc3l064104@repoman.freebsd.org> Message-ID: <20030722212644.D7733@gamplex.bde.org> References: <200307212055.h6LKtc3l064104@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/getconf getconf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 11:37:51 -0000 On Mon, 21 Jul 2003, Mark Murray wrote: > markm 2003/07/21 13:55:38 PDT > > FreeBSD src repository > > Modified files: > usr.bin/getconf getconf.c > Log: > Replace an alloca() call with a slightly more standard malloc()/free() > pair. Isn't malloc()/free() more than slightly standard? Variable-length arrays are more than slightly standard too (they became standard before getconf) and are well suited to replacing alloca() here. Bruce