Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!rutgers!mephisto!udel!mmdf From: SA44%liverpool.ac.uk@nsfnet-relay.ac.uk (Kevin Maguire) Newsgroups: comp.os.minix Subject: Re: WMAIL (ST core dumps) Message-ID: <18422@nigel.udel.EDU> Date: 3 May 90 15:50:04 GMT Sender: mmdf@udel.EDU Lines: 16 The recently posted wmail needs #include in all files that use malloc. Otherwise it core dumps on the ST as the default of returning an int is not large enough. Same old story ;-( Could PC users please check this sort of thing before posting :-( Use as many includes and casts as possible the ST barfs otherwise. The documentation said that it had been run through lint. Surely lint would find this error???? Anyway wmail works (or seems to) with those patches. I also added the includes to the umail files that used malloc but that didn't stop it core dumping. I seem to remember an array of strings in the old version of umail that was terminated by a zero, which needed to be changed to a (char *)0 to get it working on the ST, I'll investigate. I think it was in umheader.c, an array of the valid header lines??? Nsfnet : sa44%ibm.liv.ac.uk@nsfnet-relay.ac.uk Uucp : ...!mcvax!ukc!liv-ib!sa44