Files
coreutils/src
Jim Meyering 519b707b4e Fix bugs when computing length of large files.
Add overflow and write error checks.  Use uint_fast32_t, not
unsigned long, to do checksum calculation, as C99 says
uint_fast32_t should be no slower and might be faster.

Include <stdio.h> and "system.h" even if CRCTAB is defined,
so that the code will compile if CRCTAB is defined.
Include "human.h" if CRCTAB is not defined.
(uint_fast32_t): Define if it appears that stdint.h didn't.
(BIT, remainder, main, crctab): Use uint_fast32_t, not unsigned long,
for checksums.
(fill_r, remainder, main): Use ANSI prototypes.
(fill_r, remainder, main): Omit duplicate code.
(main): Use uintmax_t, not unsigned long, for file lengths.
Use size_t, not long, for result of fread.
Check for overflow when computing file lengths.
Check for write error immediately after printing a line, so that
we don't write to stdout indefinitely after an error.
2001-04-22 08:31:24 +00:00
..
1999-04-13 14:44:33 +00:00
2000-05-07 14:49:06 +00:00
2000-11-26 23:10:55 +00:00
2001-01-07 09:21:34 +00:00
2000-11-23 15:04:17 +00:00
2000-12-16 18:52:58 +00:00
2000-05-07 14:49:06 +00:00
2000-08-19 11:09:03 +00:00
1998-04-06 08:14:58 +00:00
2001-03-09 18:28:33 +00:00
1998-02-06 20:48:10 +00:00
2000-05-07 14:51:07 +00:00
2000-05-07 14:51:49 +00:00
2000-05-07 14:52:16 +00:00
2000-08-07 13:27:24 +00:00
2000-05-07 14:53:15 +00:00
2000-05-07 14:53:15 +00:00
2000-12-02 22:16:41 +00:00
2000-11-18 13:10:40 +00:00
2000-05-07 14:55:15 +00:00
…
…
…
…
2000-05-07 14:55:15 +00:00
2000-05-07 14:55:15 +00:00
2001-03-17 08:48:23 +00:00
2000-05-07 14:57:24 +00:00
2000-05-07 14:57:52 +00:00
2000-10-16 08:10:58 +00:00
2001-01-17 10:29:56 +00:00
2000-06-24 07:37:55 +00:00
2001-01-17 10:28:46 +00:00
2001-03-17 08:50:51 +00:00
2000-08-14 21:40:30 +00:00
2000-05-07 14:46:33 +00:00
2001-01-17 09:42:36 +00:00
2000-05-07 14:46:33 +00:00
2001-02-06 09:56:22 +00:00
2000-05-07 14:46:33 +00:00