[pjsip] Problem with pj_ansi_snprintf

Benny Prijono bennylp at pjsip.org
Sat Sep 15 12:58:17 EDT 2007

samuel.vinson wrote:
> But I don't use svn trunk for gcc and newlib.

Sorry for my ignorance, I'm not quite familiar with NDS development. 
Do you compile newlib from the source?

If so, how about hacking newlib/libc/stdio/vfprintf.c. Look for the 
string "(null)", and replace it with empty string and set the size 
variable to zero.

On CVS version of newlib, it's in line 1033:
    cp = "(null)";
    size = 6;

Can't guarantee that this hack will not make your NDS goes kaboom 
though. :)


More information about the pjsip mailing list