From fdcfa2aba7b804082090c424f11d0cf8cad30405 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 31 May 2007 23:55:39 +0000 Subject: less: less = MAXLINES) + if (max_fline >= MAXLINES) { + eof_error = 0; /* Pretend we saw EOF */ break; + } if (max_fline > cur_fline + max_displayed_line) break; if (eof_error <= 0) { -- cgit v1.1