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
..
2014-04-17 11:29:34 +02:00
2011-09-22 12:45:14 +02:00
2011-06-05 03:58:28 +02:00
2013-11-29 16:43:33 +01:00
2013-07-08 11:20:13 +02:00
2014-08-17 19:36:22 +02:00
2011-09-13 18:39:04 +02:00
2015-03-12 17:48:34 +01:00
2015-07-13 03:25:46 +02:00
2015-05-25 13:31:25 +02:00
2015-03-12 17:48:34 +01:00
2011-04-11 03:29:49 +02:00
2011-06-05 03:58:28 +02:00
2015-03-12 17:48:34 +01:00
2008-03-26 15:12:11 +00:00
2013-03-15 00:42:39 +01:00
2011-04-11 03:29:49 +02:00
2014-12-10 13:44:27 +01:00
2013-11-29 16:45:45 +01:00
2015-06-07 18:05:47 +02:00
2011-10-10 20:24:02 +02:00
2011-06-05 03:58:28 +02:00
2014-08-17 19:36:22 +02:00
2015-07-19 23:05:20 +02:00
2015-04-02 23:03:46 +02:00
2015-08-03 16:41:19 +02:00
2011-05-30 23:00:47 +02:00
2015-03-12 17:48:34 +01:00
2011-06-05 03:58:28 +02:00
2011-06-05 03:58:28 +02:00
2011-04-11 03:29:49 +02:00
2014-12-18 11:55:08 +01:00
2011-04-11 03:29:49 +02:00
2011-04-11 03:29:49 +02:00
2013-11-20 14:21:29 +01:00
2015-04-02 23:03:46 +02:00
2013-01-15 13:58:01 +01:00
2013-03-22 17:04:51 +01:00
2013-08-07 18:49:51 +02:00
2011-06-05 03:58:28 +02:00
2014-08-31 01:35:45 +02:00
2013-01-15 13:58:01 +01:00
2011-04-11 03:29:49 +02:00
2011-04-11 03:29:49 +02:00
2015-01-30 18:33:24 +01:00
2011-04-11 03:29:49 +02:00
2015-04-02 23:03:46 +02:00
2012-12-19 15:53:33 -05:00