Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!samsung!cs.utexas.edu!texbell!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Explicit cast of NULL (was Re: Short-circuiting conditions) Message-ID: Date: 28 Jun 90 11:46:09 GMT References: <4556@thebes.Thalatta.COM> <111287@linus.mitre.org> <8860@crdgw1.crd.ge.com> <807@mwtech.UUCP> <9473@hubcap.clemson.edu> <16980@haddock.ima.isc.com> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 13 In article <16980@haddock.ima.isc.com> karl@haddock.ima.isc.com (Karl Heuer) writes: > An ANSI-to-Classic conversion tool could do the job, but > I haven't heard of one that inserts the necessary casts. And it still wouldn't take care of execl("/bin/foo", "foo", "bar", (char *)NULL); Casting NULL is always going to be with us. > Karl W. Z. Heuer (karl@kelp.ima.isc.com or ima!kelp!karl), The Walking Lint Oh well, lint has always had a problem with varargs routines. :-> -- Peter da Silva. `-_-' +1 713 274 5180.