🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26627

Re: dbz v3.3.2 in INN 1.7.2.insync-1.1d fails for large history files

#26627
From: Nick Kean
Date: Wed, 04 Mar 1998 00:00
22 lines
1853 bytes
In article <Pine.LNX.3.96.980302225059.18279R-100000@coredump.int.tele.dk>,
  Charlie Raggamuffin wrote:
 [...]
>-rw-rw-r--  1 news  news  2222947616 Mar  2 20:49 history
>
>Trying to do a `tail' on this file returned slightly more than the
>expected number of lines.  Oh well.

  In this case isn't the problem here the fact that `tail' runs backwards
through the history file counting linefeeds until it reaches the right number
(or the start of the file) and then spits out lines until EOF.  By the time
it's searched back any reasonably large number of lines, innd has added a few
more.  If inn could write them faster than tail could read them, the tail
would never end.
  I guess you could rewrite `tail' so that it counts the correct number of
lines after finding the starting point.

-- 
If you want to test a filter then send some spam to fronk@moonshine.ihug.co.nz

Technical Details
Message-ID: <6dj09h$2lm$1@newsource.ihug.co.nz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <821zy2jqrh.fsf@robin.eecs.umich.edu> <82oh109mrh.fsf@robin.eecs.umich.edu> <6c2864$h0m$1@news.demos.su> <821zx14eat.fsf@robin.eecs.umich.edu> <6cedns$6kp$1@flea.best.net> <Pine.LNX.3.96.980302225059.18279R-100000@coredump.int.tele.dk>

Show Full Headers
Complete Article Headers
Message-ID: <6dj09h$2lm$1@newsource.ihug.co.nz>
Subject: Re: dbz v3.3.2 in INN 1.7.2.insync-1.1d fails for large history files
Date: Wed, 04 Mar 1998 00:00:00 +0000
From: nick.kean@staff.ihug.co.nz (Nick Kean)
References: <821zy2jqrh.fsf@robin.eecs.umich.edu> <82oh109mrh.fsf@robin.eecs.umich.edu> <6c2864$h0m$1@news.demos.su> <821zx14eat.fsf@robin.eecs.umich.edu> <6cedns$6kp$1@flea.best.net> <Pine.LNX.3.96.980302225059.18279R-100000@coredump.int.tele.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 330678769
X-Dr-Fun: http://www.beast.gen.nz/Dr-Fun/html/
Organization: The Internet Group
X-Files: Mulder & Scully
Reply-To: nick.kean@staff.ihug.co.nz
Newsgroups: news.software.nntp,comp.unix.bsd.freebsd.misc