Re: NULL vs 0 vs 0L bikeshed time

From: Mark Murray <markm_at_freebsd.org>
Date: Mon, 01 Mar 2004 21:58:28 +0000
Stefan Farfeleder writes:
> On Sun, Feb 29, 2004 at 03:46:35PM +0000, Mark Murray wrote:
> 
> > -#define        NULL    0L
> > +#define        NULL    (0L)
> 
> What's the point of parenthesizing 0L?

Its two lexical elements. I got into the habit of doing that when a
macro replacement bit me some years ago. It is a very unimportant part
of the patch. :-)

M
--
Mark Murray
iumop ap!sdn w,I idlaH
Received on Mon Mar 01 2004 - 13:00:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC