From owner-cvs-all@FreeBSD.ORG Tue Aug 15 08:34:41 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 970A016A4DD; Tue, 15 Aug 2006 08:34:41 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BD0F43D49; Tue, 15 Aug 2006 08:34:41 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id B9BD85F4A; Tue, 15 Aug 2006 12:34:39 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 9661C5F3A; Tue, 15 Aug 2006 12:34:39 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.6/8.13.6) id k7F8Yfxi068135; Tue, 15 Aug 2006 12:34:41 +0400 (MSD) (envelope-from ru) Date: Tue, 15 Aug 2006 12:34:41 +0400 From: Ruslan Ermilov To: Bruce Evans Message-ID: <20060815083441.GD67570@rambler-co.ru> References: <200608141328.k7EDSrRB084019@repoman.freebsd.org> <20060815085001.S32503@delplex.bde.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EY/WZ/HvNxOox07X" Content-Disposition: inline In-Reply-To: <20060815085001.S32503@delplex.bde.org> User-Agent: Mutt/1.5.12-2006-07-14 X-Virus-Scanned: No virus found Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Dag-Erling Smorgrav Subject: Re: cvs commit: src/sys/conf kern.post.mk kmod.mk src/sys/modules/if_ef Makefile src/sys/modules/if_ppp Makefile src/sys/modules/netgraph/mppc Makefile src/sys/modules/sound/sound Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 15 Aug 2006 08:34:41 -0000 --EY/WZ/HvNxOox07X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Bruce, On Tue, Aug 15, 2006 at 09:40:36AM +1000, Bruce Evans wrote: > On Mon, 14 Aug 2006, Dag-Erling Smorgrav wrote: >=20 > >des 2006-08-14 13:28:53 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/conf kern.post.mk kmod.mk > > sys/modules/if_ef Makefile > > sys/modules/if_ppp Makefile > > sys/modules/netgraph/mppc Makefile > > sys/modules/sound/sound Makefile > > Log: > > Don't use touch when what is really meant is :> (create an empty file, = or > > truncate it if it exists) or :>> (ensure the file exists, but don't cha= nge > > it if it already does) >=20 > Why not just ">" or ">>"? >=20 > > Reviewed by: ru > > MFC after: 2 weeks > > > > Revision Changes Path > > 1.96 +1 -1 src/sys/conf/kern.post.mk > > 1.210 +2 -2 src/sys/conf/kmod.mk > > 1.14 +4 -4 src/sys/modules/if_ef/Makefile > > 1.36 +3 -3 src/sys/modules/if_ppp/Makefile > > 1.14 +1 -1 src/sys/modules/netgraph/mppc/Makefile > > 1.19 +1 -1 src/sys/modules/sound/sound/Makefile >=20 > I use echo -n for one of these. "echo" is less cryptic than ">", and > is probably faster since /bin/echo is smaller than /bin/sh and is used > enough to keep it cached. >=20 make(1) will still use sh(1) when it sees ">", so what's the point? > In sound/Makefile, the cleanup should be to remove the touching (now > emptying) since the touching used to be just worse than the default of > emptying and is now just the same as the default (but takes extra code). >=20 No. It has a preceding comment explaining why it's needed on sparc64: to always build sound.ko without isadma dependency; see rev. 1.16 by marius@. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --EY/WZ/HvNxOox07X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE4YchqRfpzJluFF4RAgzAAJ9ucoajumHyO6R9MVgXKTQMcgUhigCfaq+H BQOwOS1POvMws8ZZGpQHzMU= =Mr0F -----END PGP SIGNATURE----- --EY/WZ/HvNxOox07X--