Re: [CFR] reflect resolv.conf update to running application

From: Brooks Davis (brooks_at_one-eyed-alien.net)
Date: 08/22/05

  • Next message: Brooks Davis: "Re: [CFR] reflect resolv.conf update to running application"
    Date: Mon, 22 Aug 2005 08:12:54 -0700
    To: Hajimu UMEMOTO <ume@freebsd.org>
    
    
    

    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
    
    



  • Next message: Brooks Davis: "Re: [CFR] reflect resolv.conf update to running application"