printf-compat icon indicating copy to clipboard operation
printf-compat copied to clipboard

Support NULL pointers in '%s'.

Open sunfishcode opened this issue 1 year ago • 1 comments

glibc, musl, and other common libc implementations allow a NULL pointer to be passed to the %s specifier, and format it as "(null)". This patch adds support to printf-compat to do the same.

sunfishcode avatar Nov 20 '23 19:11 sunfishcode

The CI errors here all appear to be unrelated.

sunfishcode avatar Nov 20 '23 19:11 sunfishcode