Path: utzoo!attcan!uunet!bywater!scifi!njs From: njs@scifi.scifi.UUCP (Nicholas J. Simicich;?) Newsgroups: news.software.b Subject: getmaps.c has a minor problem...and AIX 2.2 problems with rnews. Summary: off by one error Message-ID: Date: 19 Nov 88 00:18:40 GMT Sender: njs@scifi.UUCP Organization: Nick Simicich, Peekskill, NY Lines: 20 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)