Thread View: news.software.readers
2 messages
2 total messages
Started by Nik Simpson x4333
Thu, 27 Jun 1991 12:54
configuration problem with trn/rn
Author: 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. |
|--------------------------------------------------|
Re: configuration problem with trn/rn
Author: Stan Barber
Date: Fri, 28 Jun 1991 22:44
Date: Fri, 28 Jun 1991 22:44
20 lines
1608 bytes
1608 bytes
In article <1991Jun27.125429.22939@st_nik.swindon.ingr.com> nik@swindon.ingr.com writes: > 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); > This problem has been fixed in rn 4.4 which is soon to be released. In rn 4.4, it will use the interpreted value for the news spool. Lot of other neat things as well. What this space for the release announcement. -- Stan internet: sob@bcm.tmc.edu Director, Networking Olan uucp: rutgers!bcm!sob and Systems Support Barber Opinions expressed are only mine. Baylor College of Medicine
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