Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!zabriskie!spp From: spp@zabriskie.uucp (Steve Pope) Newsgroups: comp.lsi Subject: Re: Porting Mextra Message-ID: <1185@pasteur.Berkeley.Edu> Date: 3 Mar 88 17:43:27 GMT References: <974*carlos@deervax.concordia.cdn> Sender: news@pasteur.Berkeley.Edu Reply-To: spp@zabriskie.UUCP (Steve Pope) Organization: Postgres Research Group, UC Berkeley Lines: 7 The fix here is simple; on a SUN strlen(path) crashes if path is a null pointer. Try something like if (path==NIL) len=1; else len = strlen(path) + 1; and you should get around your immediate problem. steve