Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!usc!snorkelwacker!ira.uka.de!smurf!gopnbg!tmpmbx!einoed!utopia!neon!woju From: woju@neon.UUCP (Wolfgang Jung) Newsgroups: comp.os.minix Subject: Re: WMAIL (ST core dumps) Message-ID: <1068@neon.UUCP> Date: 7 May 90 19:04:45 GMT References: <18422@nigel.udel.EDU> Organization: Neon Research Caboose (tm), Berlin, West Germany Lines: 26 SA44%liverpool.ac.uk@nsfnet-relay.ac.uk (Kevin Maguire) writes: >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???? Could someone POST the LINT for MINIX ST ? >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??? Greetings -- =================================================================== # Wolfgang Jung Email:woju@neon.UUCP # # Germany Phone:0304112949 # ===================================================================