From owner-svn-src-head@FreeBSD.ORG Thu Jan 6 09:00:02 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E80C106564A; Thu, 6 Jan 2011 09:00:02 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from out-0.mx.aerioconnect.net (outy.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id 58F058FC14; Thu, 6 Jan 2011 09:00:02 +0000 (UTC) Received: from idiom.com (postfix@mx0.idiom.com [216.240.32.160]) by out-0.mx.aerioconnect.net (8.13.8/8.13.8) with ESMTP id p068npXu001491; Thu, 6 Jan 2011 00:49:51 -0800 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 40F4A2D6012; Thu, 6 Jan 2011 00:49:49 -0800 (PST) Message-ID: <4D258247.5030707@freebsd.org> Date: Thu, 06 Jan 2011 00:50:15 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Bruce Evans References: <201101041316.p04DGSo6037042@svn.freebsd.org> <201101041314.08949.jhb@freebsd.org> <20110105161720.GA1388@a91-153-123-205.elisa-laajakaista.fi> <201101051144.56940.jhb@freebsd.org> <20110106062530.Y1027@besplex.bde.org> In-Reply-To: <20110106062530.Y1027@besplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 216.240.47.51 Cc: svn-src-head@freebsd.org, Jaakko Heinonen , svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin Subject: Re: svn commit: r216954 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2011 09:00:02 -0000 On 1/5/11 11:39 AM, Bruce Evans wrote: > On Wed, 5 Jan 2011, John Baldwin wrote: > >> On Wednesday, January 05, 2011 11:17:20 am Jaakko Heinonen wrote: >>> On 2011-01-04, John Baldwin wrote: >>>> Err, no, the point of NOTREACHED is to serve as documentation for >>>> lint(1), but >>>> that has subsequently been obsoleted by __dead2. >>> >>> style(9) is out of date then? >> >> According to bde@'s most recent e-mails, yes. > > It's obviously out of date, since its only example of using > NOTREACHED is after a usage() call, and this usage is missing a > __dead2. Of course it > doesn't use NOTREACHED after its 3 exit() calls or its 2 err() calls or > its 1 errx() call, so its "should" requirement for using NOTREACHED is > mostly not satisfied by itself. However I feel that teh notreached comment is as much for the reader as the compiler/lint. Removing it makes the code harder to understand for the feeble minded such as myself. > > Bruce >