* device/lib/pic16/libc/stdio/sprintf.c: return the number of
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 25 Jun 2006 12:22:18 +0000 (12:22 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 25 Jun 2006 12:22:18 +0000 (12:22 +0000)
commitf3d92faffa4e4199f65bc655d2a399484c88301c
tree5e877a8b90eb7ab4b770874828f44817080b8929
parentd5fbaf92d9305d15b8f4ea659cda6036d5277dbb
* device/lib/pic16/libc/stdio/sprintf.c: return the number of
  characters printed (not including the trailing '\0' used to end
  output to strings). Problem detected in regression test bug-927659.c.
  NOTE: printf() family functions should return int instead
  unsigned int!
* device/lib/pic16/libc/stdio/vfprintf.c: "%%" prints "%", unknown
  specifier are printed as themselves
* sdcc/support/regression/tests/bug1057979.c: pic16 printf doesn't
  support flags, width and precision specifiers

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4249 4a8a32a2-be11-0410-ad9d-d568d2c75423
ChangeLog
device/lib/pic16/libc/stdio/sprintf.c
device/lib/pic16/libc/stdio/vfprintf.c
support/regression/tests/bug1057979.c