Files
coreutils/tests
Paul Eggert 09fc945b37 tail: refactor to skip stat call on failure
* src/tail.c (tail_bytes): New function.
(tail_bytes, tail_lines, tail): Accept struct stat pointer from
caller instead of calling fstat ourselves.  All callers changed.
(tail_file): Skip a call to fstat if fstat already failed.
* tests/tail/follow-stdin.sh: Adjust to match new behavior
on failure, which omits a redundant diagnostic.
2025-08-03 19:48:05 -07:00
..
2025-07-26 20:06:42 +01:00
2025-05-21 21:22:08 +01:00
2025-01-15 17:07:19 +00:00
2025-07-09 17:12:40 -07:00
2025-03-23 12:01:18 -07:00
2025-01-15 17:07:19 +00:00
2025-06-20 12:15:27 -07:00