[EMAIL PROTECTED] wrote:
As a related note glibc has some questionable protections, like
free(NULL)
which it simply ignores resulting in bugs remaining hidden. GNU ls
does a
free(NULL) somewhere which we discovered while demoing truss on linux
processes in BrandZ. It is also visible when you use ltrace in Linux.
free(NULL) is defined as legal in the standard.
Oh. Did not know that.
Solaris libc, unfortunately, also allows free(foo); free(foo);
freemsg() in the kernel streams code also ignores a NULL.
Regards,
Moinak.
Casper
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org