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:
parent
50b9d1a8f1
commit
e6bdc6c5eb
@ -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
|
||||
|
@ -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++;
|
||||
|
@ -931,8 +931,8 @@ __svfscanf_r (rptr, fp, fmt0, ap)
|
||||
break;
|
||||
fok:
|
||||
*p++ = c;
|
||||
width--;
|
||||
fskip:
|
||||
width--;
|
||||
++nread;
|
||||
if (--fp->_r > 0)
|
||||
fp->_p++;
|
||||
|
Loading…
Reference in New Issue
Block a user