From: "Christopher R. Hertel" <crh@NTS.Umn.EDU> Message-Id: <199805112136.QAA05629@unet.unet.umn.edu> Subject: Re: CVS update: samba/source/ubiqx To: tridge@samba.anu.edu.au Date: Mon, 11 May 1998 16:36:20 -0500 (CDT) In-Reply-To: <19980511083244Z12616071-20526+13598@samba.anu.edu.au> from "Andrew Tridgell" at May 11, 98 06:35:20 pm
Andrew,
There's got to be a better answer. This is likely to cause all sorts of
other problems, I'm afraid. Where is NULL defined in SunOS4? I'd rather
do something like this:
#ifndef NULL
#define NULL ((void *)0)
#endif
Including the Samba headers in the ubiqx stuff forces a divergent path.
You're right, I don't like it at all. I would really rather find a
solution that works across all platforms and isn't Samba-specific. Please
help me out!
Chris -)-----
> Date: Monday May 11, 1998 @ 18:32
> Author: tridge
>
> Update of /data/cvs/samba/source/ubiqx
> In directory samba:/tmp/cvs-serv27550
>
> Modified Files:
> ubi_AVLtree.c ubi_BinTree.c ubi_Cache.c ubi_SplayTree.c
> ubi_dLinkList.c
> Log Message:
>
> include includes.h in all the ubiqx files. I know Chris won't like
> this but it really is necessary (sorry Chris!)
>
> ubiqx code didn't compile on SunOS4 otherwise as stdlib didn't define
> NULL.
-- Christopher R. Hertel -)----- University of Minnesota crh@nts.umn.edu Networking and Telecommunications Services