Andreas Schwab <sch...@linux-m68k.org> writes: > 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.
Seems so. Sorry for the noise. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University