🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Lawrence J. Hiller Wed, 02 Jun 1993 00:25
XRN compilations problems (crash on sending)
#4327
Author: Lawrence J. Hiller
Date: Wed, 02 Jun 1993 00:25
28 lines
1913 bytes
I have compiled xrn 6.17 from ftp.uu.net on a Dec 5000 running Ultrix
4.1.52 with gcc.  Rn is already on the system.

When posting, following-up, or replying, the program exits with
'Caught Signal 11'.  I haven't had time to go through it with dbx,
but even so I don't hope for much, I'm not a practiced debugger.

This error occurs whether inews is defined or not.  The program is
reading news flawlessly.

A question I have, which might be the cause, are the files defined
by HIDDEN_FILE, PATH_FILE, DOMAIN_FILE, and ORG_FILE.  Do these files
contain fixed strings or are they templates?  If so, what are the
template codes?

Oh, yes, some problems with the source on ftp.uu.net.  The file server.c
does not include sys/stat.h or sys/types.h, which define the structure
stat.  Also, on line 1293 in postArticle,

#ifdef INEWS
    if (exitstatus = pclose(inews)) {
        FILE *filefp;
        char *p;
        struct stat buf  <- is missing a semicolon.
        char temp[1024];
-- 
Larry Hiller            |  I'll get you my pretty, and your squirrel-
hiller@wente.llnl.gov   |  fox Teto, too!  (Nausicaa no lando no ozu?!)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads