🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #937

Re: Posting Problems, receiving is fine...

#937
From: Henry Spencer
Date: Sun, 27 Jan 1991 05:08
29 lines
1838 bytes
In article <1991Jan25.173547.13231@sci34hub.sci.com> gary@sci34hub.sci.com (Gary Heston) writes:
>If you see those, there's a glitch in the $NEWSBIN/batch/sendbatches
>script, which creates the files (they contain the output from
>compress) and then errors if they're present! (At least, that's 
>what I found when I set up Cnews here, under ISC 1.0.6... )
>
>The offending line is:
>
>			if test $? -eq 0 -a ! -s /tmp/nb$$
>
>and the fix I found was to delete the additional test:
>
>			if test $? -eq 0

Compress is not supposed to generate "output" (I assume this is on
stderr, since output on stdout goes into the next stage of the pipeline)
for a normal compression run.  That's a bug.  Possibly you have a
very old version of compress.  I think it used to run off at the mouth,
but that was fixed over five years ago.

>Oh--you need to remove the /tmp/nb* files, too...

Now *that's* a real bug, albeit in a bizarre case of persistent failures
not fixed by human intervention.  Sendbatches isn't removing the file
after reporting the problem.  Oops.  Fixed in next patch.
-- 
If the Space Shuttle was the answer,   | Henry Spencer at U of Toronto Zoology
what was the question?                 |  henry@zoo.toronto.edu   utzoo!henry
Technical Details
Message-ID: <1991Jan27.050856.27530@zoo.toronto.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!henry
References: <*|8^+!&@ads.com> <1991Jan25.173547.13231@sci34hub.sci.com>

Show Full Headers
Complete Article Headers
Message-ID: <1991Jan27.050856.27530@zoo.toronto.edu>
Subject: Re: Posting Problems, receiving is fine...
Date: Sun, 27 Jan 1991 05:08:56 GMT
From: henry@zoo.toronto.edu (Henry Spencer)
References: <*|8^+!&@ads.com> <1991Jan25.173547.13231@sci34hub.sci.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!henry
Newsgroups: news.software.nntp,news.software.b
Organization: U of Toronto Zoology