Not checking printf's result causes another news bug

Dave Cohrs dave at uwvax.UUCP
Sun Aug 18 04:34:36 AEST 1985


I had an even worse problem with receiving new news recently.  My /usr
filesystem filled up (where /usr/lib/news lives, of course) and expire
ran.  What happened then?  Well, log ==> olog, history ==> ohistory, etc
and the active file got rebuilt.  But wait, there wasn't any space left
(and I mean none, root was at fault), so the log, history, and active
files ended up being NULL which causes problems for people trying to read
news.

News, especially expire and inews, must check their files to make sure
they aren't blowing everything away.

-- 
Dave Cohrs
(608) 262-1204
...!{harvard,ihnp4,seismo,topaz}!uwvax!dave
dave at wisc-romano.arpa



More information about the Net.bugs mailing list