stopgap measure against elvis going nuts when files that are too large

are opened.
This commit is contained in:
Ben Gras 2008-12-21 04:01:01 +00:00
parent 0579810535
commit 523fdf2729

View File

@ -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: