Newsgroups: news.software.b Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: relaynews doesn't update active file Message-ID: <1990Oct6.221654.26595@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1990Oct6.004103.2076@melb.bull.oz.au> Date: Sat, 6 Oct 90 22:16:54 GMT In article <1990Oct6.004103.2076@melb.bull.oz.au> sjg@melb.bull.oz.au (Simon J Gerraty) writes: >Relaynews appears not to be updating the active file. The >history file does get updated and the logs appear normal. This gets the nod, I think, for "weirdest problem yet". One thought does come to mind... Modern active files exceed 32KB. The "big" variant of the active-file code tries to rewrite the whole file in one gulp (one fwrite(), to be precise). If you specified a large address space, but your fwrite() takes signed 16-bit size parameters, this could result in a failure. I would expect a complaint about this, but maybe something else is wrong too... -- Imagine life with OS/360 the standard | Henry Spencer at U of Toronto Zoology operating system. Now think about X. | henry@zoo.toronto.edu utzoo!henry