]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: use off_t and cc_t to clarify what variables attempt to represent
authorSami Kerola <kerolasa@iki.fi>
Sat, 21 Mar 2020 13:15:19 +0000 (13:15 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 13 Apr 2020 11:14:07 +0000 (12:14 +0100)
commitba105bb5eb0052ee7d85d0903ad4ae9e87114930
tree1db9858388d2bb7eca28f60678ea7b249a31471c
parent437cec386f19b6f17b2ba3fa455838a99d9643bb
more: use off_t and cc_t to clarify what variables attempt to represent

As a minor robustness improvement use ftello() to find out file position
rather than add and substract from old value.

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