2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r): Change loop that reads blanks from the input file to break if EOF reached rather than end processing.
This commit is contained in:
parent
175f01bc17
commit
798c015d11
|
@ -1,3 +1,9 @@
|
|||
2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
|
||||
reads blanks from the input file to break if EOF reached
|
||||
rather than end processing.
|
||||
|
||||
2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* MAINTAINERS: Change e-mail addresses to refer to redhat domain.
|
||||
|
|
|
@ -292,9 +292,7 @@ __svfscanf_r (rptr, fp, fmt0, ap)
|
|||
{
|
||||
for (;;)
|
||||
{
|
||||
if (BufferEmpty)
|
||||
return nassigned;
|
||||
if (!isspace (*fp->_p))
|
||||
if (BufferEmpty || !isspace (*fp->_p))
|
||||
break;
|
||||
nread++, fp->_r--, fp->_p++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue