Check for read errors.
This commit is contained in:
parent
07b5593d23
commit
c0db43a356
@ -297,6 +297,8 @@ filter(FILE *f)
|
||||
maxcol = col;
|
||||
continue;
|
||||
}
|
||||
if (ferror(f))
|
||||
err(1, NULL);
|
||||
if (maxcol)
|
||||
flushln();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user