[news.software.b] getmaps.c has a minor problem...and AIX 2.2 problems with rnews.

njs@scifi.scifi.UUCP (Nicholas J. Simicich;?) (11/19/88)

   in misc/getmaps.c, the line:

     nbuf[BUFSIZ] = NULL;

   should probably read:

    nbuf[BUFSIZ-1] = '\0';

This walks on the next automatic variable which, on an RT/PC under 
AIX 2.2 is a pointer (nptr), and the first byte is significant.  Sorry
if this is an old chestnut, as I've just started running rnews.
Generally.  everything else worked, as soon as I realized that it
didn't want to hear about a System V system that had gethostname() and
bcopy().  I had to comment out bcopy() in funcs2.c, and I had to tell
it that I had uname() instead, even though AIX has both uname() and
gethostname().  

--
Nick Simicich --- uunet!bywater!scifi!njs --- njs@ibm.com (Internet)