🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83690

Re: [INN] pullnews byte count

#83690
From: Edmund H. Ramm
Date: Thu, 18 Nov 2010 20:20
44 lines
2722 bytes
Bsr Julien,

In <ic2o9q$73o$1@news.trigofacile.com> =?Windows-1252?Q?Julien_=C9LIE?= <iulius@nom-de-mon-site.com.invalid> writes:

>> Hunk #1 FAILED at 302.
> Just change the name of these two occurrences of $count to $array_order,
> near line 300:

>> [...]
>> - $servers->{$sname}->{_order} = $count++;

   That's the problem. The above line doesn't exist in my pullnews
version (Debian Lenny). The corresponding block of code looks like
this:

-----
while (<FILE>) {
    next if m!^\s*\#! || m!^\s*$!;

    if (m!^(\S+)(\s+(\S+)\s+(\S+))?\s*$!) {
        $sname = $1;
        $servers->{$sname} = {};
        $passwd{$sname} = [ $3, $4 ] if defined $3 and $3 ne "";
    } elsif (m!^\s+(\S+)\s+(\d+)\s+(\d+)!) {
        my ($group,$date,$high) = ($1,$2,$3);
        $servers->{$sname}->{$group} = [ $date, $high ];
    } elsif (m!^\s+(\S+)\s*$!) {
        # Assume this is a new group.
        my ($group,$date,$high) = ($1,0,0);
        print LOG "Looking for new group $group on $sname\n" unless $quiet;
        $servers->{$sname}->{$group} = [ $date, $high ];
    } else {
        die "Fatal error in $groupFile: $.: $_\n";
    }
}
-----

   Does this make any sense to you?

   slt, Eddi ._._.
-- 
      e-mail: dk3uz AT arrl DOT net  |  AMPRNET: dk3uz@db0hht.ampr.org
      If replying to a Usenet article, please use above e-mail address.
               Linux/m68k, the best U**x ever to hit an Atari!
Technical Details
Message-ID: <ic41qb$cqd$1@dk3uz.ampr.org>
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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.alt.net!dk3uz!not-for-mail
References: <ibuccd$8n5$1@dk3uz.ampr.org> <ibun7q$kt2$1@news.trigofacile.com> <ibv7h5$gv8$1@dk3uz.ampr.org> <ic1af4$irk$1@news.trigofacile.com> <ic1qb6$flb$1@dk3uz.ampr.org> <ic2o9q$73o$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <ic41qb$cqd$1@dk3uz.ampr.org>
Subject: Re: [INN] pullnews byte count
Date: Thu, 18 Nov 2010 20:20:27 +0000
From: ehramm@dk3uz.ampr.org (Edmund H. Ramm)
References: <ibuccd$8n5$1@dk3uz.ampr.org> <ibun7q$kt2$1@news.trigofacile.com> <ibv7h5$gv8$1@dk3uz.ampr.org> <ic1af4$irk$1@news.trigofacile.com> <ic1qb6$flb$1@dk3uz.ampr.org> <ic2o9q$73o$1@news.trigofacile.com>
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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.alt.net!dk3uz!not-for-mail
Newsgroups: news.software.nntp
Organization: Private Linux/68k site
Lines: 44
Sender: ehramm@dk3uz.ampr.org
NNTP-Posting-Host: dk3uz.ampr.org
X-Trace: dk3uz.ampr.org 1290111627 13133 44.130.0.81 (18 Nov 2010 20:20:27 GMT)
X-Complaints-To: usenet@dk3uz.ampr.org
NNTP-Posting-Date: Thu, 18 Nov 2010 20:20:27 +0000 (UTC)
X-No-Archive: yes
X-No-HTML: yes
User-Agent: nn/6.7.3
X-Original-Bytes: 2546