Xref: utzoo news.software.nntp:1070 news.software.b:6729 Newsgroups: news.software.nntp,news.software.b Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Posting Problems, receiving is fine... Message-ID: <1991Jan27.050856.27530@zoo.toronto.edu> Organization: U of Toronto Zoology References: <*|8^+!&@ads.com> <1991Jan25.173547.13231@sci34hub.sci.com> Date: Sun, 27 Jan 1991 05:08:56 GMT 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