Paul Eggert
225cb8d747
cat: don’t trust st_size on /proc files
...
* src/cat.c (main):
Improve test for when copying will exhaust the output device.
Do not rely on st_size, which is unreliable in /proc.
Use lseek instead; this is good enough here.
* tests/cat/cat-self.sh: Test the relaxation of the heuristic
for self-copying.
2024-04-06 15:18:27 -07:00
..
2024-01-01 13:27:23 +00:00
2024-04-06 15:18:27 -07:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-03-25 12:12:19 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-03-06 21:54:02 +00:00
2024-02-26 17:33:02 +00:00
2024-01-17 23:59:49 +00:00
2024-01-17 23:59:49 +00:00
2024-01-01 13:27:23 +00:00
2024-01-17 23:59:49 +00:00
2024-02-27 14:27:04 +00:00
2024-01-01 13:27:23 +00:00
2024-03-22 13:12:52 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-17 23:59:49 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-02-27 14:27:04 +00:00
2024-01-01 13:27:23 +00:00
2024-03-25 13:02:52 +00:00
2024-03-26 20:09:35 +00:00
2024-01-01 13:27:23 +00:00
2024-03-24 18:32:34 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-03-27 12:41:33 +00:00
2024-01-01 13:27:23 +00:00
2024-02-27 14:27:04 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-17 23:59:49 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-02-27 14:27:04 +00:00
2024-01-18 16:52:36 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-03-26 16:53:09 +00:00
2024-02-26 17:33:02 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2015-11-06 16:40:42 +00:00
2024-01-01 13:27:23 +00:00
2011-04-13 11:18:48 +01:00
2012-09-14 10:20:03 +02:00
2024-01-01 13:27:23 +00:00
2006-08-16 20:11:42 +00:00
2024-03-20 14:40:29 -07:00
2015-11-10 13:03:33 +00:00
2024-01-01 13:27:23 +00:00
2024-01-01 13:27:23 +00:00
2021-05-12 22:14:11 +01:00