Xref: utzoo comp.unix.xenix:1219 comp.mail.misc:721 Path: utzoo!mnetor!uunet!mcvax!ukc!stc!datlog!slxsys!jpp From: jpp@slxsys.specialix.co.uk (John Pettitt) Newsgroups: comp.unix.xenix,comp.mail.misc Subject: Re: pathalias under SCO Message-ID: <116@slxsys.specialix.co.uk> Date: 18 Dec 87 20:04:57 GMT References: <2472@killer.UUCP> Reply-To: jpp@slxsys.UUCP (John Pettitt) Organization: Specialix International, London, UK. Lines: 33 In article <2472@killer.UUCP> chip@killer.UUCP (Chip Rosenthal) writes: >Has anybody out there brought up pathalias under SCO XENIX? I get a >segmentation violation if I try to run enough map data through it. Moving > . >>>> while ((n = Table[probe]) != 0) { > if (unique) > goto skip; > . >Chip Rosenthal chip@vector.UUCP | But if you want to sing the >Dallas Semiconductor (214) 450-0400 | blues, then boy you better >{texsun,codas,ihnp4}!killer!vector!chip | learn how to lose. I decided to post rather than mail as this is probably of interest to Xenix users in general. The problem is that ptr != int. Table is declared extrn node **Table; Comparing this to 0 will not work in 286 Large model. If the 0 is changed to NULL - declared in stdio.h as ((char *) 0) and disable the malloc stuff. It will work. You will also need -Ml and -F 4000 otherwise you will run out of stack. -- John Pettitt UUCP :{backbone}!mcvax!ukc!pyrltd!slxsys!jpp Specialix Systems Domain :jpp%slxsys@pyra.co.uk London, UK. (Where else ? :-) Voice : +44 1 398 9422 (GMT) rn: core dumped