On Mon, Nov 9, 2009 at 11:10 PM, Peter Lukac <p.lukac at emtest.sk> wrote: > > Yes i have to agree with you. My solution isn't good because > other place give "(null)" strings and pjsua not work correctly... > > But when precision is 0 and string is NULL pointer what should be function > printf return? "(null)" string or "" string...I thing "(null)" is for debug > purpose...and this behavior isn't defined.. > Nothing should be printed when the precision is zero. > Or is this behavior some norm ?...because if not, > and it's only feature glibc then it is "hack"...don't you think? > Or just find "(null)" in your libc library and replace it with empty string. I think I did that at one point. -benny