Explicit cast of NULL (was Re: Short-circuiting conditions)

Peter da Silva peter at ficc.ferranti.com
Thu Jun 28 21:46:09 AEST 1990


In article <16980 at haddock.ima.isc.com> karl at 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 at 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.
<peter at ficc.ferranti.com>



More information about the Comp.lang.c mailing list