From owner-freebsd-arch@FreeBSD.ORG Mon Aug 22 15:13:04 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9F1816A420; Mon, 22 Aug 2005 15:13:04 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D15143D49; Mon, 22 Aug 2005 15:13:04 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j7MFCsQv024124; Mon, 22 Aug 2005 08:12:54 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j7MFCsbE024123; Mon, 22 Aug 2005 08:12:54 -0700 Date: Mon, 22 Aug 2005 08:12:54 -0700 From: Brooks Davis To: Hajimu UMEMOTO Message-ID: <20050822151254.GA22948@odin.ac.hmc.edu> References: <20050821003536.P14178@fledge.watson.org> <20050821040454.GP13959@cirb503493.alcatel.com.au> <867jee5dhz.fsf@xps.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: arch@freebsd.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , Robert Watson , Peter Jeremy Subject: Re: [CFR] reflect resolv.conf update to running application X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 15:13:05 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2005 at 11:39:57PM +0900, Hajimu UMEMOTO wrote: > Hi, >=20 > >>>>> On Mon, 22 Aug 2005 15:04:40 +0200 > >>>>> Dag-Erling Sm=F8rgrav said: >=20 > des> use 'cmp -s' instead of diff. It returns 0 when the files are > des> identical, 1 when they differ and 2 when one of the files does not > des> exist or is not readable, and never prints anything. >=20 > Ah, yes. it was fixed locally. Thanks. I'm fine with the cmp version of the change so long as you only perform the test if /usr/bin/cmp exists. dhclient-script may be called before /usr exists and must not misbehave under those circumstances. --- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDCet1XY6L6fI4GtQRAs/OAJ9MUokKgONlLn3yupPZIgC4QrhTwgCgj/fg vZB61Xy8CCZjhfIxCo05shQ= =iwnc -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--