Subject: Re: Bug with stdio errlist?
To: None <SPA%NCCIBM1.BITNET@cmsa.Berkeley.EDU>
From: Charles Hannum <mycroft@duality.gnu.ai.mit.edu>
List: netbsd-bugs
Date: 12/01/1993 23:48:13
   > > More about 'sys_errlist' -- from /usr/include/stdio.h on NetBSD 0.9:
   > >
   > > #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
   > > extern int sys_nerr;			/* perror(3) external variables */
   > > extern char *sys_errlist[];
   > > #endif
   > >
   > Swell.  I just went back to vangogh.berkeley.edu -- the source of BSD44 --
   > and their copy of stdio.h says:
   >
   > #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
   > extern int sys_nerr;			/* perror(3) external variables */
   > extern const char *const sys_errlist[];
   > #endif

   [...]

   I believe this is something to be fixed by NetBSD, not Kermit.

I just changed this in the NetBSD sources.  Besides being compatible
with 4.4, this has the advantage of putting the strings (and the
pointers) in the text section.

Thanks.


------------------------------------------------------------------------------