>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?
Yes, fix the code which passes NULL to printf(). Having code stumble on in the presence of bugs is a bad idea. The only way to "fix" this behaviour in Solaris is to map something at address zero, e.g., by preloading the [EMAIL PROTECTED] dynamic object. What does glibc print when confronted with a NULL? It bothers me that they accept this; won't they ever learn that permissive library code only helps in hiding bugs? Casper _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
