Path: utzoo!utgpu!attcan!uunet!mcvax!ukc!etive!lfcs!angus From: angus@lfcs.ed.ac.uk (Angus Duggan) Newsgroups: comp.sources.games.bugs Subject: Re: mpss on SYS V ??? Summary: time() call wrong (for 4.2bsd anyway) Keywords: time() Message-ID: <582@etive.ed.ac.uk> Date: 29 Jul 88 09:00:17 GMT References: <2843@tekred.TEK.COM> <301@pcsbst.UUCP> Sender: news@etive.ed.ac.uk Reply-To: angus@lfcs.ed.ac.uk (Angus Duggan) Followup-To: comp.sources.games.bugs Organization: Laboratory for the Foundations of Computer Science, Edinburgh U Lines: 14 In article <301@pcsbst.UUCP> cochise!mike@pcsbst.UUCP (Mike Schroeder) writes: >Calling just "mpss" gave the start menu asking for my TERM type, >entered "0", got a message saying "found automatic terminal type" >or something like that and then: > >"Memory fault" ;-( I solved this problem by altering the calls to time() in slave.c - on the 4.2bsd system time() requires a (long *) parameter, and returns a long. Angus Duggan, Department of Computer Science, University of Edinburgh, JCMB, The King's Buildings, Mayfield Road, Edinburgh, EH9 3JZ, Scotland. JANET: angus@uk.ac.ed ARPA: angus%ed@nss.cs.ucl.ac.uk USENET: angus@ed.ac.uk UUCP: ...!mcvax!ukc!ed!angus