]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: fix moving backwards so that it can reach begining of the file
authorSami Kerola <kerolasa@iki.fi>
Sun, 29 Mar 2020 13:52:19 +0000 (14:52 +0100)
committerSami Kerola <kerolasa@iki.fi>
Mon, 13 Apr 2020 11:14:08 +0000 (12:14 +0100)
commit837f49c6bf0db1de7b85cb20e2c19a6232717adc
treefe7f927aa3604a9be6efe3df966b54247cc64068
parente3cb27f5358ccdd8c4a10ccf13e0f37ab9953332
more: fix moving backwards so that it can reach begining of the file

Moving backwards has worked fine until reaching start of file.  At that
point more printout had one line too much in output causing more seemingly
never to be able to reach the start.  That is now fixed, with clean ups to
skip_backwards() making it less confusing.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils/more.c