Subject: The sys_errlist[] screw
To: None <tech-userlevel@NetBSD.ORG>
From: Charles M. Hannum <>
List: tech-userlevel
Date: 02/21/1998 17:54:34
So, what I suggest is the following:

Do the symbol renaming hack for both sys_errlist and sys_nerr, making
the new version of sys_errlist a *pointer* to the table (i.e. a `char
**').  Any application using sys_errlist[] that was compiled before
this change or does not use errno.h, will not be able to see the
messages for new errors.  Any application using strerror() or which is
compiled afterwards and uses sys_errlist[] will DTRT.  By making the
new version a pointer, entries can be added later without the problem

Regardless, given that the existing change is broken, if nothing is
done about it by 1998/02/23 0000Z, I will simply revert it.