Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > You cannot expect printf to print "(nil)" or variant for NULL pointers. > E.g. on Solaris 10 you get a SEGV instead.
You are probably mixing it up with %s. %p is required to handle NULL like any other valid pointer value. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."