printf: Print "(null)" for NULL pointers (%s) #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently printf assumes that arg for %s points to a string correctly.
While I don't know how to properly check if it's a valid pointer, I can atleast print "(null)" if arg=0 (EOS)