Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.sysv386 Subject: Re: Replacement su for SCO Unix Keywords: SCO, su Message-ID: <4128@auspex.auspex.com> Date: 1 Oct 90 18:33:59 GMT References: <1990Sep21.143435.9810@dce.ie> <143@guug.guug.de> Organization: Auspex Systems, Santa Clara Lines: 18 >Not really stupid (i must admit to microsoft). 'shell ?' means >'shell != 0' and *not* 'shell != NULL'. You should not rely on >NULL being the same as 0. ...unless you're using a C compiler rather than something that pretends to be a C compiler. If your C compiler can't cope with if (shell) and if (shell != 0) and if (shell != NULL) and treat them all the same, it's broken.