2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion, count all characters used to create number against maximum width. * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
This commit is contained in:
@ -931,8 +931,8 @@ __svfscanf_r (rptr, fp, fmt0, ap)
|
||||
break;
|
||||
fok:
|
||||
*p++ = c;
|
||||
width--;
|
||||
fskip:
|
||||
width--;
|
||||
++nread;
|
||||
if (--fp->_r > 0)
|
||||
fp->_p++;
|
||||
|
Reference in New Issue
Block a user