Date: Mon, 22 Aug 2005 08:12:54 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Hajimu UMEMOTO <ume@freebsd.org> Cc: arch@freebsd.org, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no>, Robert Watson <rwatson@freebsd.org>, Peter Jeremy <PeterJeremy@optushome.com.au> Subject: Re: [CFR] reflect resolv.conf update to running application Message-ID: <20050822151254.GA22948@odin.ac.hmc.edu> In-Reply-To: <ygemzna3uiq.wl%ume@mahoroba.org> References: <ygefyt4yiaz.wl%ume@mahoroba.org> <20050821003536.P14178@fledge.watson.org> <20050821040454.GP13959@cirb503493.alcatel.com.au> <ygeacjbyj5g.wl%ume@mahoroba.org> <867jee5dhz.fsf@xps.des.no> <ygemzna3uiq.wl%ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, Aug 22, 2005 at 11:39:57PM +0900, Hajimu UMEMOTO wrote: > Hi, > > >>>>> On Mon, 22 Aug 2005 15:04:40 +0200 > >>>>> Dag-Erling Smørgrav <des@des.no> said: > > 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. > > 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 -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDCet1XY6L6fI4GtQRAs/OAJ9MUokKgONlLn3yupPZIgC4QrhTwgCgj/fg vZB61Xy8CCZjhfIxCo05shQ= =iwnc -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050822151254.GA22948>
