Actually, IIRC, even NULL isn't really safe --- C compilers
can legally #define NULL 0. The pointer context has to be
established at the point of usage, which means only a
full-fledged (void *)0 will do.
Change going into CVS right away.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
cscope-null.patch
Logged In: YES
user_id=27517
Thanks for spotting this.
Actually, IIRC, even NULL isn't really safe --- C compilers
can legally #define NULL 0. The pointer context has to be
established at the point of usage, which means only a
full-fledged (void *)0 will do.
Change going into CVS right away.
Logged In: YES
user_id=48092
question is also why doesnt it use the
libc popen on Linux.
Ciao, Marcus
Logged In: YES
user_id=27517
No idea. Please keep in mind that this is code whose first
version predates Linus' birth. I.e. it's probably just
"hysterical raisins" ;-)