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:
Jeff Johnston 2003-03-20 17:23:57 +00:00
parent 50b9d1a8f1
commit e6bdc6c5eb
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.
2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline

View File

@ -1085,8 +1085,8 @@ __svfscanf_r (rptr, fp, fmt0, ap)
break;
fok:
*p++ = c;
fl_width--;
fskip:
fl_width--;
++nread;
if (--fp->_r > 0)
fp->_p++;

View File

@ -931,8 +931,8 @@ __svfscanf_r (rptr, fp, fmt0, ap)
break;
fok:
*p++ = c;
width--;
fskip:
width--;
++nread;
if (--fp->_r > 0)
fp->_p++;