Article View: news.software.readers
Article #143configuration problem with trn/rn
From: Nik Simpson x4333
Date: Thu, 27 Jun 1991 12:54
Date: Thu, 27 Jun 1991 12:54
24 lines
1747 bytes
1747 bytes
I've recently built the NNTP version of trn/rn and had the problems
getting the article saving to work properly. The problem I found was that
mbox.saver was looking in /usr/spool/news for the temporary copy of the
article whilst the trn/rn code is hard wired to create the file in /tmp.
Initially I just changed the mbox.saver code however I found the
prefereable solution is to change artio.c and ng.c so that they write the
temporary article to wherever SPOOL is defined to be, the three lines that
need changing are all like the following :-
sprintf(artname,"/tmp/rrn%ld.%ld", (long) artnum, our_pid);
I have changed them to
sprintf(artname,"%s/rrn%ld.%ld",SPOOL, (long) artnum, our_pid);
Before I suggest this change as a patch I can't help wondering if
I missed something obvious in the configuration stage.
--
|--------------------------------------------------|
| Nik Simpson Mail : nik@swindon.ingr.com |
| Systems Consultant (UNIX). Intergraph UK Ltd. |
|--------------------------------------------------|
Technical Details
Message-ID:
<1991Jun27.125429.22939@st_nik.swindon.ingr.com>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!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!think.com!spool.mu.edu!olivea!uunet!infonode!ingr!nijmeg!swindon!st_nik!nikShow Full Headers
Complete Article Headers
Message-ID: <1991Jun27.125429.22939@st_nik.swindon.ingr.com> Subject: configuration problem with trn/rn Date: Thu, 27 Jun 1991 12:54:29 +0000 From: nik@st_nik.swindon.ingr.com (Nik Simpson x4333) 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!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!think.com!spool.mu.edu!olivea!uunet!infonode!ingr!nijmeg!swindon!st_nik!nik Newsgroups: news.software.readers Reply-To: nik@swindon.ingr.com Organization: Intergraph UK Ltd. (swindon) Lines: 24