Don't arbitrarily limit tabstop expansions to 256 characters.

Submitted by:	Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>
This commit is contained in:
Dima Dorfman 2001-06-20 01:08:58 +00:00
parent 69a78d4666
commit 91dd86ff52
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ getstops(cp)
i = 0;
while (*cp >= '0' && *cp <= '9')
i = i * 10 + *cp++ - '0';
if (i <= 0 || i > 256)
if (i <= 0)
errx(1, "bad tab stop spec");
if (nstops > 0 && i <= tabstops[nstops-1])
errx(1, "bad tab stop spec");