Subject: sys_errlist definition
To: None <current-users@NetBSD.ORG>
From: Curt Sampson <email@example.com>
Date: 07/02/1996 00:19:14
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to firstname.lastname@example.org for more info.
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Now that sys_errlist is defined in errno.h, and defined correctly,
a lot of non-ANSI programs break slightly when compiled because
they also define it as just extern char * (without the const).
What's the easiest and simplist way to determine, in the general
case, whether one is running on a system that already has this
defined? I'm currently using a #ifdef __NetBSD__ around the code,
but I'd rather send back more general patches to the authors if I
can, since I'm fairly certain this change needs to be made for
FreeBSD and the like as well.
Curt Sampson email@example.com Info at http://www.portal.ca/
Internet Portal Services, Inc.
Vancouver, BC (604) 257-9400 De gustibus, aut bene aut nihil.