]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Include human.h.
authorJim Meyering <jim@meyering.net>
Sun, 28 Oct 2001 08:31:08 +0000 (08:31 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 28 Oct 2001 08:31:08 +0000 (08:31 +0000)
commita4d1bdafd60310bba575ac8531014a9fb32c1b00
treecdb3f2ed3a68e8cc24c3ef8f9233dba599d1fabc
parente922107a251bf03238228220633fc1c22c0eb857
Include human.h.
(ROTATE_RIGHT): Remove; it was slow and the comment was
misleading anyway.
(bsd_sum_file): Avoid unsigned and long when they're not needed.
Compute total input bytes as uintmax_t, not long, so that the
code works even with files whose size does not fit in 'long'.
(sysv_sum_file): Likewise.
(sysv_sum_file): Do not reduce checksum until the end; this is
what System V does.
src/sum.c