Path: utzoo!utgpu!water!watmath!clyde!att!alberta!calgary!!radford From: radford@.ucalgary.ca (Radford Neal) Newsgroups: comp.arch Subject: Re: NULL pointers (was: Software Distribution) Keywords: software distribution, null pointers Message-ID: <33@cs-spool.calgary.UUCP> Date: 3 Oct 88 22:27:51 GMT References: <978@esunix.UUCP> <3112@pt.cs.cmu.edu> Sender: news@calgary.UUCP Lines: 18 In article <3112@pt.cs.cmu.edu>, bsy@PLAY.MACH.CS.CMU.EDU (Bennet Yee) writes: > ..... > blithering about universal intermediate languages and cost for checking > every pointer reference to enforce *NULL == NULL > ..... > > ... if your machine core dumps on dereferencing NULL, just trap the > fault ... patch up ... return. It's a very machine dependent solution, > but certainly can be done on any Unix machine. Really? It can't be done on several models of the PDP-11. Models that supported UNIX. I suspect it can't be done on many UNIX systems that don't support demand paging. Maybe not even on some that do. Radford Neal