🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4327

XRN compilations problems (crash on sending)

#4327
From: 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?!)
Technical Details
Message-ID: <1ugs2h$l6p@lll-winken.llnl.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!lll-winken.llnl.gov!hiller

Show Full Headers
Complete Article Headers
Message-ID: <1ugs2h$l6p@lll-winken.llnl.gov>
Subject: XRN compilations problems (crash on sending)
Date: Wed, 02 Jun 1993 00:25:53 +0000
From: hiller@wente.llnl.gov (Lawrence J. Hiller)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!lll-winken.llnl.gov!hiller
Newsgroups: news.software.readers
Organization: UC Davis Dept of Applied Science at LLNL
Lines: 28
Distribution: world
NNTP-Posting-Host: wente.llnl.gov
Summary: 'Caught sig 11' when posting or mailing
Keywords: xrn, compiling