Darren J Moffat <[EMAIL PROTECTED]> wrote:

> Padraig O'Briain wrote:
> > On Solaris, if a NULL argument is passed to printf type function for %s 
> > format the program crashes. On Linux it does not. Would it be possible to 
> > change Solaris behavior to be similar to Linux?
>
> LD_PRELOAD=/usr/lib/[EMAIL PROTECTED]
>
> Works around the assumptions in the broken programs that pass NULL to
> printf.

Not a good idea as LD_PRELOAD=/usr/lib/[EMAIL PROTECTED] completelz hides the 
problem.
You see an empty string instead of "(null)".


Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to