From owner-freebsd-hackers Thu May 22 14:19:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA06710 for hackers-outgoing; Thu, 22 May 1997 14:19:34 -0700 (PDT) Received: from cais.cais.com (root@cais.com [199.0.216.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA06705 for ; Thu, 22 May 1997 14:19:31 -0700 (PDT) Received: from earth.mat.net (root@earth.mat.net [205.252.122.1]) by cais.cais.com (8.8.5/8.7.3) with SMTP id RAA14762; Thu, 22 May 1997 17:19:22 -0400 (EDT) Received: from Journey2.mat.net (journey2.mat.net [205.252.122.116]) by earth.mat.net (8.6.12/8.6.12) with SMTP id RAA08367; Thu, 22 May 1997 17:19:20 -0400 Date: Thu, 22 May 1997 17:19:03 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@Journey2.mat.net To: Warner Losh cc: Josef Grosch , hackers@FreeBSD.ORG Subject: Re: Porting question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 22 May 1997, Warner Losh wrote: > What's wrong with using strerror() instead? And hacking the makefiles > on really old crufty systems to include a short function that returns > things from sys_errlist? It is a heck of a lot more portable and much > easier to maintain. They are functionally the exact same thing. Use strerror if you want. I was trying to demonstrate the method I use to catch and fix changes. > > Warner > > > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------