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
2013-03-15 00:42:39 +01:00
2014-12-10 13:44:27 +01:00
2015-04-02 23:03:46 +02:00
2011-05-30 23:00:47 +02:00
2015-04-02 23:03:46 +02:00
2013-01-15 13:58:01 +01:00
2013-01-15 13:58:01 +01:00
2015-01-30 18:33:24 +01:00
2015-04-02 23:03:46 +02:00