🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lsi
Article #996

Re: Porting Mextra

#996
From: Steve Pope
Date: Thu, 03 Mar 1988 17:43
8 lines
642 bytes
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
Technical Details
Message-ID: <1185@pasteur.Berkeley.Edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!zabriskie!spp
References: <974*carlos@deervax.concordia.cdn>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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