Path: utzoo!attcan!uunet!l5comp!scotty From: scotty@l5comp.UUCP (Scott Turner) Newsgroups: comp.unix.microport Subject: Re: running "pcomm" on Sys V/AT Summary: OK, ok, here's the source Keywords: de'reffing NULL pointers again Message-ID: <427@l5comp.UUCP> Date: 19 Sep 88 06:38:33 GMT References: <633@wa3wbu.UUCP> <424@l5comp.UUCP> <635@wa3wbu.UUCP> Reply-To: scotty@l5comp.UUCP (Scott Turner) Organization: L5 Computing, Edmonds, WA Lines: 15 /* remove the lock */ /* if (*lock_path != NULL && lock_path != NULL) { */ if ((lock_path != NULL) && (*lock_path != NULL)) { if (unlink(lock_path)) { sprintf(buf, "'%s'", lock_path); error_win(0, "Can't remove the lock file", buf); } free_ptr(lock_path); lock_path = null_ptr; } /* turn the getty back on? */ Scott Turner scotty@l5comp -or- uunet!l5comp!scotty