From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 30 16:35:49 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1D2C10656A3 for ; Tue, 30 Nov 2010 16:35:49 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 80A0B8FC1F for ; Tue, 30 Nov 2010 16:35:49 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 79F411FFC37; Tue, 30 Nov 2010 16:35:48 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 270BE84548; Tue, 30 Nov 2010 17:35:47 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Bakul Shah References: <86r5e3zye4.fsf@pluton.xbsd.name> <4CF40F8F.30303@feral.com> <20101129221648.159C45B18@mail.bitblocks.com> <86zksrm4f1.fsf@ds4.des.no> <20101130155421.6340C5B73@mail.bitblocks.com> Date: Tue, 30 Nov 2010 17:35:47 +0100 In-Reply-To: <20101130155421.6340C5B73@mail.bitblocks.com> (Bakul Shah's message of "Tue, 30 Nov 2010 07:54:21 -0800") Message-ID: <86r5e2n50c.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Matthew Jacob Subject: Re: find(1): Is this a bug or not? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2010 16:35:49 -0000 Bakul Shah writes: > "Dag-Erling Sm=C3=B8rgrav" writes: > > You should replace the err() call with a warn() call instead of > > removing it outright. > That would print the err msg twice as opendir (or something) already > seems to report the error. Try it! Oh, OK. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no