From 142a49a4be37258477d8ce2b19011a75c36bd418 Mon Sep 17 00:00:00 2001 From: delphij Date: Mon, 9 May 2011 21:51:59 +0000 Subject: MFV: Update to less v443. MFC after: 1 month --- contrib/less/input.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'contrib/less/input.c') diff --git a/contrib/less/input.c b/contrib/less/input.c index 058dec3..b82868b 100644 --- a/contrib/less/input.c +++ b/contrib/less/input.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2009 Mark Nudelman + * Copyright (C) 1984-2011 Mark Nudelman * * You may distribute under the terms of either the GNU General Public * License or the Less License, as specified in the README file. @@ -181,6 +181,11 @@ get_forw_line: { do { + if (ABORT_SIGS()) + { + null_line(); + return (NULL_POSITION); + } c = ch_forw_get(); } while (c != '\n' && c != EOI); new_pos = ch_tell(); -- cgit v1.1