Xref: utzoo comp.unix.microport:3965 news.software.b:4118 Newsgroups: comp.unix.microport,news.software.b Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Cnews ported to V/AT? Message-ID: <1990Feb8.182437.25095@utzoo.uucp> Organization: U of Toronto Zoology References: <45@frau.UUCP> <3+1:A3-@splut.conmicro.com> Date: Thu, 8 Feb 90 18:24:37 GMT In article <3+1:A3-@splut.conmicro.com> jay@splut.conmicro.com (Jay "you ignorant splut!" Maynard) writes: >>Has anyone ported C-news to Microport V/AT? ... > >It's not simple. In particular, expire and relaynews need to be compiled >in large model, or else they run out of memory... I'm a bit surprised at that, as they do run on 16-bit machines, but this is somewhat a function of things like how many groups you get. If your active file is 28KB (like ours), this clearly raises storm warnings for 16-bit programs that want to keep it all in core. >There's one macro that needs to be simplified to make Microport's >compiler happy: In relay/hdrdefs.c, the definition of the offsetof() >macro needs to be changed to >#define offsetof(type, mem) ((int)&((type *)NULL)->mem) This is now discussed in notebook/problems, along with other porting problems of various kinds. -- SVR4: every feature you ever | Henry Spencer at U of Toronto Zoology wanted, and plenty you didn't.| uunet!attcan!utzoo!henry henry@zoo.toronto.edu