From owner-freebsd-hackers@FreeBSD.ORG Wed May 14 01:12:15 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30DFB37B401 for ; Wed, 14 May 2003 01:12:15 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 060C143F75 for ; Wed, 14 May 2003 01:12:14 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.9/8.12.9) with ESMTP id h4E8CDEB002325; Wed, 14 May 2003 10:12:13 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.9/8.12.9/Submit) id h4E8CCYW002324; Wed, 14 May 2003 10:12:12 +0200 (CEST) Date: Wed, 14 May 2003 10:12:12 +0200 From: Wilko Bulte To: Peter Jeremy Message-ID: <20030514081212.GA2301@freebie.xs4all.nl> References: <3EC10099.3328.197DDF3E@localhost> <081901c319ab$18daa470$34f820c0@ix1x1000> <20030514080038.GC4366@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030514080038.GC4366@cirb503493.alcatel.com.au> User-Agent: Mutt/1.4i X-OS: FreeBSD 4.8-STABLE X-PGP: finger wilko@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: A modest proposal for better errno values... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 08:12:15 -0000 On Wed, May 14, 2003 at 06:00:38PM +1000, Peter Jeremy wrote: > On Tue, May 13, 2003 at 07:55:14PM -0400, Michael Meltzer wrote: > >> #define EDOOFUS 88 /* Programming error */ > > > >#define E370HSSV 88 /* Programming error */ > > You might get this one past the suits if you can come up with an > appropriate acronym (one that keeps their mind off reading it > .(umop 3p!sdn > > My (non-tongue-in-cheek) suggestion is EASSERT - this is an assertion > failure that you don't want to abort()/panic() on. #define EDONTPANIC 42 /* ... */ -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte