Acbosgd.2087
net.news.b
utcsrgv!utzoo!decvax!ucbvax!mhtsa!harpo!cbosg!cbosgd!mark
Mon Mar  1 17:16:02 1982
a funny glitch
Andy Tannenbaum and I just tracked down a news problem which was
really weird.  Inews was core dumping. Adb said it was dumping
in history, in a place where it couldn't be core dumping.  (fgets
would have had to return non-null but with no newline on the end
of the buffer.)

Turns out his history file (from a previous version of netnews) had
a bunch of null characters in it.  A line beginning with a null would
cause fgets to return as described above.

So if it happens to you (please send me mail - I'd like to know if
nulls in history files is widespread) the fix is to vi your history
file and write it back.  That will strip out the nulls.  Or just
       cp /dev/null /usr/lib/news/history

       Mark

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.