On Sat, Jul 2, 2011 at 3:33 AM, Dunceor wrote:
...
> Is there a reason for that NULL is defined at so many places?
Because the standards say so. If the code to do so grows complicated
enough (it's close already, IMHO) then perhaps that definition should
be moved to an internal header (say, <_nul
On Sat, Jul 2, 2011 at 11:16 AM, Jonathan Gray wrote:
> As pointed out by Richard Guenther our definition
> of NULL will be incorrect for c++ compilers that aren't
> gcc (or pretend to be gcc like clang).
>
> Index: dirent.h
> ===
> R
As pointed out by Richard Guenther our definition
of NULL will be incorrect for c++ compilers that aren't
gcc (or pretend to be gcc like clang).
Index: dirent.h
===
RCS file: /cvs/src/include/dirent.h,v
retrieving revision 1.21
diff -