Skip nulls in putback to don't confuse with EOFs
This commit is contained in:
parent
6185408336
commit
b63b4cdb92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5167
@ -77,6 +77,8 @@ int c;
|
||||
{
|
||||
if (c == EOF)
|
||||
c = 0;
|
||||
else if (c == 0)
|
||||
return;
|
||||
if (bp < endpbb)
|
||||
*bp++ = c;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user