commit bf90e85f185aec16b8373f9102c7bfcec68ffa02
Author: Hiltjo Posthuma <[email protected]>
Date:   Mon Mar 30 21:49:33 2015 +0200

    col: dont allow col -l 0

diff --git a/col.c b/col.c
index f81f07e..41a01d5 100644
--- a/col.c
+++ b/col.c
@@ -198,7 +198,7 @@ main(int argc, char *argv[])
                halfline = 1;
                break;
        case 'l':
-               pagesize = estrtonum(EARGF(usage()), 0, MIN(SIZE_MAX, 
LLONG_MAX));
+               pagesize = estrtonum(EARGF(usage()), 1, MIN(SIZE_MAX, 
LLONG_MAX));
                break;
        case 'p':
                escape = 1;

Reply via email to