Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sm.unisys.com!csun!polyslo!jeff
From: jeff@polyslo.CalPoly.EDU (Skippy The Wonder Hacker)
Newsgroups: comp.lang.lisp
Subject: Re: Need KCL for Sun3 running OS 4.0
Message-ID: <4036@polyslo.CalPoly.EDU>
Date: 19 Sep 88 04:43:46 GMT
References: <714@paris.ICS.UCI.EDU>
Reply-To: jeff@polyslo.UUCP (Skippy The Wonder Hacker)
Organization: Akbar 'n' Jeff's Cryonics Hut
Lines: 35

In article <714@paris.ICS.UCI.EDU> erickson@paris.ics.uci.edu (Gary) writes:
>I would appreciate any pointers to a version of KCL that runs on
>a Sun3 OS 4.0.  I keep getting memory faults while trying to
>build saved_kcl.

	I got KCL working on Sun 3's with SunOS 4.0.  I had to use
	gcc, the GNU C Compiler, since Sun's compiler seemed to be
	producing bad code.  I also had to make one small change in
	unixsave.c.  The patch follows.

		--Jeff

*** /tmp/,RCSt1a07038	Sun Sep 18 21:39:58 1988
--- unixsave.c	Wed Aug 31 03:44:25 1988
***************
*** 327,334 ****
--- 327,337 ----
  #else
  		nfile = _NFILE;
  #endif
+ /*
  		for (p = &_iob[3];  p < &_iob[nfile];  p++)
  			fclose(p);
+ */
+ 		_cleanup();
  	}
  	memory_save(kcl_self, filename);
  /*


-- 
Jeff Weinstein aka Skippy The Wonder Hacker      For Smart Mailers(and Internet)
Computer Systems Lab (the OTHER computer center)     jeff@polyslo.calpoly.edu
Cal Poly State University, San Luis Obispo, CA   For Dumb Mailers:
(805)756-7180                                        ucbvax!voder!polyslo!jeff