diff options
author | Xin LI <delphij@FreeBSD.org> | 2011-05-09 21:51:59 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2011-05-09 21:51:59 +0000 |
commit | 33096f16e1815def0772f877cbb01e832bb5b37e (patch) | |
tree | e6e6402d1f7ea7e3382a94b4f654586f41b93f2c /contrib/less/input.c | |
parent | e18cc7bf3e0979dd4989b2fa8bb671558dd50769 (diff) | |
parent | ed915d8294a373813108148f47b424e1152e4a5d (diff) | |
download | src-33096f16e1815def0772f877cbb01e832bb5b37e.tar.gz src-33096f16e1815def0772f877cbb01e832bb5b37e.zip |
MFV: Update to less v443.
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=221715
Diffstat (limited to 'contrib/less/input.c')
-rw-r--r-- | contrib/less/input.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/less/input.c b/contrib/less/input.c index 058dec3a1ca6..b82868bca4d2 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(); |