Paul Eggert
3655a8cced
tail: track errno more accurately
...
This matters only in some obscure cases hard to test for.
* src/tail.c (file_lines, pipe_lines, pipe_bytes, start_bytes)
(start_lines, tail_bytes, tail_lines, tail): New return
convention, which reports errno. All callers changed.
(recheck): Don’t lose track of errno if a regular file is
replaced by a symlink.
(get_file_status): Set errno to 0 on success.
(tail_file): Be more careful about f->errnum.
It is now -1 only if the failure was not due to
a system call failing.
2025-08-03 19:48:06 -07:00
..
2025-07-04 20:52:37 -07:00
2025-06-18 14:20:17 +01:00
2025-01-01 09:33:08 +00:00
2025-05-09 15:57:13 -07:00
2025-08-03 19:48:05 -07:00
2025-01-01 09:33:08 +00:00
2025-02-02 22:09:52 -08:00
2023-12-27 19:51:00 +00:00
2023-12-27 19:51:00 +00:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2023-12-27 19:51:00 +00:00
2025-06-03 23:11:44 +01:00
2025-02-18 20:10:19 -08:00
2025-02-18 20:10:19 -08:00
2025-02-18 20:10:19 -08:00
2025-02-18 20:10:19 -08:00
2025-05-18 09:49:29 +01:00
2025-02-20 12:56:16 +00:00
2025-06-22 11:33:11 +01:00
2025-05-01 14:05:59 +01:00
2025-01-07 17:28:49 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2022-01-31 12:07:39 -08:00
2025-06-07 18:53:43 +01:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-08-01 13:31:28 +01:00
2025-01-01 09:33:08 +00:00
2025-07-29 11:43:09 +01:00
2025-06-25 09:08:35 +01:00
2025-05-09 15:57:13 -07:00
2025-01-01 09:33:08 +00:00
2025-03-15 12:57:53 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-07-29 11:43:09 +01:00
2025-01-01 09:33:08 +00:00
2025-07-29 11:43:09 +01:00
2025-04-04 21:14:29 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-07-27 07:30:49 -07:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2021-10-31 22:36:46 -07:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-03 19:48:05 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-03-22 12:35:15 +00:00
2025-01-07 17:28:49 +00:00
2025-08-03 19:48:05 -07:00
2025-02-20 12:56:20 +00:00
2023-03-13 21:26:21 +00:00
2025-06-22 11:33:11 +01:00
2025-01-01 09:33:08 +00:00
2025-05-24 13:02:31 -07:00
2025-01-01 09:33:08 +00:00
2025-05-28 12:49:17 -07:00
2025-07-31 17:57:59 -07:00
2025-01-01 09:33:08 +00:00
2025-05-12 01:28:48 -07:00
2025-07-29 11:43:09 +01:00
2025-07-09 17:12:40 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-07 17:28:49 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2024-05-05 17:50:28 +01:00
2025-08-03 19:48:04 -07:00
2025-02-20 12:56:20 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-06-03 23:11:44 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-06-22 11:33:11 +01:00
2025-01-01 09:33:08 +00:00
2025-08-03 12:33:55 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-03 19:48:06 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-05-12 01:28:48 -07:00
2025-01-01 09:33:08 +00:00
2025-06-22 11:33:11 +01:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2024-05-05 17:50:14 +01:00
2025-06-25 09:08:35 +01:00
2025-01-01 09:33:08 +00:00
2025-04-07 00:59:27 -07:00
2025-07-29 11:43:09 +01:00
2025-07-09 17:12:40 -07:00
2025-07-29 11:43:09 +01:00
2025-05-09 15:57:13 -07:00
2025-01-01 09:33:08 +00:00
2025-06-23 13:16:32 +01:00
2025-07-29 11:43:09 +01:00
2025-05-09 15:57:13 -07:00
2023-02-06 13:09:40 +00:00
2025-02-02 22:09:52 -08:00
2025-07-29 11:43:09 +01:00
2025-01-01 09:33:08 +00:00
2025-08-03 19:48:05 -07:00
2025-08-03 19:48:06 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2023-07-18 23:10:40 +01:00
2025-06-18 14:20:17 +01:00
2025-08-03 19:48:06 -07:00
2025-07-29 11:43:09 +01:00
2025-01-01 09:33:08 +00:00
2025-08-03 19:48:05 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-06-21 10:59:46 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-02-20 12:56:20 +00:00
2025-08-03 19:48:04 -07:00
2023-09-23 17:07:52 -07:00
2025-07-29 11:43:09 +01:00
2025-01-01 09:33:08 +00:00
2025-01-15 22:16:30 +00:00