This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Use siprintf() in asctime_r.c
- From: Philip Munts <phil at munts dot net>
- To: newlib at sourceware dot org
- Date: Mon, 23 May 2011 13:01:11 +0200
- Subject: Use siprintf() in asctime_r.c
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