made just a little bit more robust
This commit is contained in:
parent
4549b5129d
commit
21b427d4df
1 changed files with 1 additions and 0 deletions
|
@ -303,6 +303,7 @@ controlline() {
|
||||||
assert(l == '\0');
|
assert(l == '\0');
|
||||||
do {
|
do {
|
||||||
l = getc(f1);
|
l = getc(f1);
|
||||||
|
if (l == EOF) fatal(0, "temp file mangled");
|
||||||
putc(l,f2);
|
putc(l,f2);
|
||||||
} while ( l != '\n' ) ;
|
} while ( l != '\n' ) ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue