From owner-freebsd-hackers@FreeBSD.ORG Tue May 13 17:11:07 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 76C8D37B401 for ; Tue, 13 May 2003 17:11:07 -0700 (PDT) Received: from mail-out2.apple.com (mail-out2.apple.com [17.254.0.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECDDA43F3F for ; Tue, 13 May 2003 17:11:06 -0700 (PDT) (envelope-from jkh@apple.com) Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225]) by mail-out2.apple.com (8.12.9/8.12.9) with ESMTP id h4E0B6nB014563 for ; Tue, 13 May 2003 17:11:06 -0700 (PDT) Received: from scv2.apple.com (scv2.apple.com) by mailgate2.apple.com ; Tue, 13 May 2003 17:10:25 -0700 Received: from apple.com (eyeball.apple.com [17.202.45.78]) by scv2.apple.com (8.12.9/8.12.9) with ESMTP id h4E0APUb018978; Tue, 13 May 2003 17:10:25 -0700 (PDT) Date: Tue, 13 May 2003 17:10:24 -0700 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Garance A Drosihn From: Jordan Hubbard In-Reply-To: Message-Id: <75B77572-85A0-11D7-BE4E-000393C6E688@apple.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: 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 00:11:07 -0000 If it's just used for kernel errors, I was pretty happy with the EDONTPANIC suggestion someone made earlier. :) - Jordan On Tuesday, May 13, 2003, at 03:51 PM, Garance A Drosihn wrote: > At 1:57 AM -0700 5/13/03, Jordan Hubbard wrote: >> ... and "yeah, that's a pretty silly errno value and in rather >> colloquial english at that, let's pick a more descriptive name >> like ``EUSERERR'' or something which makes any code using it >> more clear." > > I think it is fine to change the name, but EUSERERR is certainly > not right. The bikeshed is then picking an appropriate name. > > EBADCOMMIT(ER) ESKIPDISASTER EAVERTWOE EAVOIDABYSS > > seem like some plausible names, given the description of the > history behind the name, and what error is used for. I'm sure > another hundred could be thought of after about 15 minutes with > a thesaurus. > > -- > Garance Alistair Drosehn = gad@gilead.netel.rpi.edu > Senior Systems Programmer or gad@freebsd.org > Rensselaer Polytechnic Institute or drosih@rpi.edu