Thomas Schwinge <tho...@codesourcery.com> writes: > Additionally to the "%p" format specifier printing a "0x" prefix vs. not > doing that, I've also changed the expected "(nil)" output for NULL > pointers to instead match basically everything.
You cannot expect printf to print "(nil)" or variant for NULL pointers. E.g. on Solaris 10 you get a SEGV instead. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University