Article View: news.software.nn
Article #1018Re: Rubbish in the acct files
From: John Brownie
Date: Fri, 26 Oct 1990 05:03
Date: Fri, 26 Oct 1990 05:03
29 lines
1877 bytes
1877 bytes
In <jhb.656747575@monet> I wrote: >A couple of weeks ago, I posted the following article. I haven't had >any response, and our news system was a bit dodgy at the time, so I'm >posting it again. >>Whenever I quit nn, I get a nonsense message like >>Time used this session: 0.08 Period total: -2236977.-14 >>and the acct files seem to contain random binary data. I've tried >>blasting the acct files, but I still get the same sort of garbage. >>This all worked fine with the first version of nn that I brought up >>(whatever was current at the end of May 1990), but broke with one of >>the subsequent patches (I am currently running nn 6.4.11 on a Sun 4/60, >>SunOS 4.1). >>Has anyone else seen this problem? Have I done something stupid? Obviously no-one else had seen the problem, which surprises me now that I have fixed it. It is caused by the Sun 4 C compiler's alignment rules for structs. The fix that I used was to specify "-misalign" in CFLAGS in the Makefile. There are better solutions, I guess, but this one doesn't actually involve changing code. -- John Brownie Pure Mathematics, University of Sydney Internet: jhb@maths.su.oz.au
Technical Details
Message-ID:
<jhb.656917069@monet>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!munnari.oz.au!metro!newsReferences:
<jhb.655694070@monet> <jhb.656747575@monet>Show Full Headers
Complete Article Headers
Message-ID: <jhb.656917069@monet> Subject: Re: Rubbish in the acct files Date: Fri, 26 Oct 1990 05:03:45 +0000 From: jhb@maths.su.oz.au (John Brownie) References: <jhb.655694070@monet> <jhb.656747575@monet> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!munnari.oz.au!metro!news Newsgroups: news.software.nn Sender: jhb@maths.su.oz.au Organization: Uni Computing Service, Uni of Sydney, Australia Lines: 29 Posted: Fri Oct 26 06:03:45 1990 Nntp-Posting-Host: monet.maths.su.oz.au