busybox/miscutils
Ron Yorston b27cf31003 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>
2015-08-03 16:41:19 +02:00
..
2015-07-13 03:25:46 +02:00
2015-05-25 13:31:25 +02:00
2015-04-02 23:03:46 +02:00
2015-04-02 23:03:46 +02:00
2015-04-02 23:03:46 +02:00