diff options
author | Ron Yorston <rmy@pobox.com> | 2015-07-31 17:33:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-08-03 16:41:19 +0200 |
commit | b27cf31003774e5aa13491ccb8f1f0721dc5b920 (patch) | |
tree | f2b72d7111d1033063524dd411f9e267bcac1ee4 /shell/hush_test/hush-z_slow/leak_var3.tests | |
parent | ad27a6d3265b2e8a27030a01121afed639bed2da (diff) | |
download | busybox-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 'shell/hush_test/hush-z_slow/leak_var3.tests')
0 files changed, 0 insertions, 0 deletions