Problem with pj_ansi_snprintf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. :)

  -benny





[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux