This is the mail archive of the
newlib-cvs@sources.redhat.com
mailing list for the newlib project.
src/newlib ChangeLog libc/machine/powerpc/vfsc ...
- From: jjohnstn at sources dot redhat dot com
- To: newlib-cvs at sources dot redhat dot com
- Date: 23 Apr 2004 21:30:04 -0000
- Subject: src/newlib ChangeLog libc/machine/powerpc/vfsc ...
CVSROOT: /cvs/src
Module name: src
Changes by: jjohnstn@sourceware.org 2004-04-23 21:30:04
Modified files:
newlib : ChangeLog
newlib/libc/machine/powerpc: vfscanf.c
Log message:
2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
(__svfscanf_r): In integer conversions, leave out leading zeroes
which are not part of a base prefix.
Keep track of width truncation to fit into buf, not counting left-out
zeroes against width till the truncation has been compensated for.
This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.658&r2=1.659
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/machine/powerpc/vfscanf.c.diff?cvsroot=src&r1=1.7&r2=1.8