Use siprintf() in asctime_r.c

Philip Munts phil@munts.net
Mon May 23 23:16:00 GMT 2011


When I called ctime() in a test program for an ARM9 target, I noticed that floating point libraries were linked in.

I eventually traced this to sprintf() in asctime_r.c.  This should be changed to siprintf().  There are perhaps many other places throughout newlib where calls to xprintf() should be changed to xiprintf().

Phil



More information about the Newlib mailing list