Check for read errors.
This commit is contained in:
parent
c80f54d479
commit
be091cf3cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132882
@ -297,6 +297,8 @@ filter(FILE *f)
|
||||
maxcol = col;
|
||||
continue;
|
||||
}
|
||||
if (ferror(f))
|
||||
err(1, NULL);
|
||||
if (maxcol)
|
||||
flushln();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user