James Carlson wrote: > The sad thing here is that it's really the bug-ridden application code > that mishandles NULL pointers that's of poor quality, so it's not > OpenSolaris's reputation that should be at stake.
This is unfortunately not always true. There are programs out there (often, initially written for Linux) that assume that printf(3C) prints out "null" and not segfault. Take for instance, Lustre. It has debug print macros that assumes this behavior. And using /usr/lib/0 at 0.so.1 hides real bugs. One way to fix it is to change the calls at hundreds of places. Another is to ship a version of printf that does the 'right thing' of printing "null". ;) Just my $0.02. Regards, Manoj -- Manoj Joseph, Lustre Group, Sun Microsystems
