Article View: news.software.nntp
Article #83744Re: control-archive 1.4.0 released
From: Julien ÉLIE
Date: Sun, 02 Jan 2011 18:26
Date: Sun, 02 Jan 2011 18:26
43 lines
2614 bytes
2614 bytes
Hi Thomas and Russ,
> The new versions seems to drop the first line of a checkgroups
> message, leading to control-archive wrongly logging rmgroups for
> whatever group will be listed first, e.g.
Note that archived checkgroups on ftp.isc.org are correct.
I see that process-control redefines @control here:
# If this is a checkgroups, figure out what hierarchy it's affecting.
# This should really be based on the checkgroups arguments if present, but
# isn't yet.
if ($control[0] eq 'checkgroups') {
my $group = checkgroups_group (\@body);
@control = ('checkgroups', $group);
}
$group is set to the first valid newsgroup in the checkgroups control
article.
Incidentally, I do not see any use afterwards of $group; and @control
in the case of a checkgroups is used in check_ctl() just below (to match
the first group). Maybe check_ctl could be changed to take $group
and no longer modify @control before its call.
Hmm… If the inclusion pattern is set to the first group, why is it
then excluded from the checkgroups? (and not also from the active
file when it is read)
Is
my ($id, $pattern, $body, @args) = @_;
assigning the right arguments with
checkgroups ($id, $pattern, \@body, @control[1 .. $#control]);
?
--
Julien ÉLIE
« Sol attigit talos. »
Technical Details
Message-ID:
<8obuasF7v0U1@mid.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<87oc8qmjjd.fsf@windlord.stanford.edu> <nsn.1101021229.25@thorondor.akallabeth.de>Show Full Headers
Complete Article Headers
Message-ID: <8obuasF7v0U1@mid.individual.net> Subject: Re: control-archive 1.4.0 released Date: Sun, 02 Jan 2011 19:26:37 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <87oc8qmjjd.fsf@windlord.stanford.edu> <nsn.1101021229.25@thorondor.akallabeth.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 43 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: individual.net skxG3tEbX8tRWO0txzO79Qm9KjL19iD+G+3LOepCykPK9qn4o= Cancel-Lock: sha1:bAyyY8BY9pG2O0I7R/FExFE3Kcc= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; In-Reply-To: <nsn.1101021229.25@thorondor.akallabeth.de> X-Original-Bytes: 2459