stopgap measure against elvis going nuts when files that are too large
are opened.
This commit is contained in:
parent
0579810535
commit
523fdf2729
|
|
@ -367,6 +367,9 @@ int tmpstart(filename)
|
||||||
}
|
}
|
||||||
nbytes++;
|
nbytes++;
|
||||||
}
|
}
|
||||||
|
if(i >= MAXBLKS) {
|
||||||
|
FAIL("Too many blocks: %d.", i);
|
||||||
|
}
|
||||||
lnum[i - 1] = nlines;
|
lnum[i - 1] = nlines;
|
||||||
}
|
}
|
||||||
FoundEOF:
|
FoundEOF:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user