Article View: news.software.nn
Article #1806nntp and archiving
From: Rich Ragan
Date: Thu, 27 Jun 1991 19:37
Date: Thu, 27 Jun 1991 19:37
33 lines
2024 bytes
2024 bytes
Awhile back I reported an nn problem when you specify archiving using
>file-path in the GROUPS file and you are running nntp. What you
get archived is only the headers. The problem still exists at patch
level 16. The code that needs repair is in news.c in the following
area (source code as follows)
#ifdef NNTP
} else
if (use_nntp) {
lazy = (current_group->master_flag & M_ALWAYS_DIGEST) == 0
&& (modes & LAZY_BODY) ? 1 : 0;
f = nntp_get_article(art->a_number, lazy);
if (f == NULL) return NULL;
#endif /* NNTP */
} else {
sprintf(group_file_name, "%d", art->a_number);
This code needs to take the archive flag into account as well
when it decides whether to get just the header or the whole
body. There is some other code a little later also calling
nntp_get_article that I don't understand when it is used.
However, for now I am getting archiving via the kludge of
adding the D flag for digesting to groups I want archived and
that suggest the above code might be the only area needing a
change. However, I haven't time right now to experiment further
and pass the info on for those who are interested or might
want to do the same thing and have the same circumstances.
--
Richard R. Ragan rrr@svl.cdc.com (408) 496-4340
Control Data Corporation - Silicon Valley Operations
5101 Patrick Henry Drive, Santa Clara, CA 95054-1111
Technical Details
Message-ID:
<34588@shamash.cdc.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.nn.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!emory!samsung!caen!spool.mu.edu!cs.umn.edu!uc!shamash!rrrShow Full Headers
Complete Article Headers
Message-ID: <34588@shamash.cdc.com> Subject: nntp and archiving Date: Thu, 27 Jun 1991 19:37:47 +0000 From: rrr@u02.svl.cdc.com (Rich Ragan) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!emory!samsung!caen!spool.mu.edu!cs.umn.edu!uc!shamash!rrr Newsgroups: news.software.nn Sender: usenet@shamash.cdc.com Reply-To: rrr@svl.cdc.com Organization: Control Data Corporation, Silicon Valley Operations Lines: 33