tail: allow tail -n 0 or tail -0

fix a crash, but allow this option.
This commit is contained in:
Hiltjo Posthuma
2015-03-30 21:24:46 +02:00
parent d583d12300
commit d6aff89bbb
2 changed files with 3 additions and 1 deletions

1
tr.c
View File

@@ -39,7 +39,6 @@ static struct range *set2 = NULL;
static size_t set2ranges = 0;
static int (*set2check)(Rune) = NULL;
static size_t
rangelen(struct range r)
{