CVS update: samba/source/ubiqx

Elrond elrond at samba.org
Fri Jun 9 03:58:08 EST 2000


Hi Christopher,

I'm just trying to merge your stuff into TNG.
While doing so, I'm reading your ChangeLogs.

 * if( NULL != pointer ).  This is more correct, and I have heard
 * of at least one (obscure?) system out there that uses a non-zero
 * value for NULL.

Two things:

As far as I know, ANSI C says, that "if ( pointer )" is
totaly equivalent with "if ( pointer != NULL )" with "if
(pointer != 0)" (NULL is just a nice define for 0).

But what I'm really interested in: Which real system out
there has a non-zero value for the NULL-pointer?

(maybe we both should reread the passage on NULL-pointers
in the C-FAQ...)


    Elrond


On Fri, Jun 09, 2000 at 03:30:06AM +1000, Christopher Hertel wrote:
> 
> Date:	Friday June 9, 2000 @ 3:29
> Author:	crh
> 
> Update of /data/cvs/samba/source/ubiqx
> In directory samba:/tmp/cvs-serv20826
> 
> Modified Files:
> 	ubi_BinTree.c ubi_BinTree.h ubi_Cache.c ubi_Cache.h 
> 	ubi_SplayTree.c ubi_SplayTree.h 
> Log Message:
> Bringing these up to date with what I've got on my site.  The fixes include
> the change that prevents 'insure' from becomming confused and issuing leak
> reports.  Some minor speed fixes.  That sort of thing.
> 
> Chris -)-----


More information about the samba-cvs mailing list