aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2015-07-31 17:33:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2015-08-03 16:41:19 +0200
commitb27cf31003774e5aa13491ccb8f1f0721dc5b920 (patch)
treef2b72d7111d1033063524dd411f9e267bcac1ee4 /coreutils
parentad27a6d3265b2e8a27030a01121afed639bed2da (diff)
downloadbusybox-b27cf31003774e5aa13491ccb8f1f0721dc5b920.tar.gz
less: further tweaks to regular file detection
Test explicitly for REOPEN flags: update_num_lines is called unconditionally so (num_lines != NOT_REGULAR_FILE) is also true when num_lines contains a valid number of lines. The call to fstat doesn't need to be in #if ENABLE_FEATURE_LESS_FLAGS: the whole function is already in such a test. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
0 files changed, 0 insertions, 0 deletions