christos 07c1b4dc67 If the string to be printed is NULL substitute "(null)". Approved by core.
This is a workaround to make gcc's behavior consistent, since gcc can
transform:
    printf("%s\n", s) -> puts(s)
    fprintf(fp, "%s", s) -> fputs(s, fp)
as an optimization.
I've left the _DIAGASSERT's that make sure that s != NULL alone because we
should really still abort in a debugging environment.
2005-06-22 19:45:22 +00:00
..
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-18 10:50:25 +00:00
2005-06-12 05:21:25 +00:00
2005-06-12 05:48:41 +00:00