Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: Profiling Civserver again
Home

[Freeciv-Dev] Re: Profiling Civserver again

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Profiling Civserver again
From: Trent Piepho <xyzzy@xxxxxxxxxxxxx>
Date: Wed, 1 Aug 2001 20:57:59 -0700 (PDT)

On Thu, 2 Aug 2001, Vasco Alexandre Da Silva Costa wrote:
> 
> when this is much more compact:
> 
> if (!p)
> if (p)

Are you SURE that is ok?  I seem to remember reading in the comp.lang.c FAQ
that a NULL pointer is defined as a pointer to 0, but not necessarily the
value 0.  They even gave some examples of systems where NULL!=0.



[Prev in Thread] Current Thread [Next in Thread]