]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(process_file): Don't overflow for files of size >= 2^31
authorJim Meyering <jim@meyering.net>
Fri, 4 Nov 2005 10:08:51 +0000 (10:08 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 4 Nov 2005 10:08:51 +0000 (10:08 +0000)
commit933576b4401b9e33ac792aa441ee2a128eb04850
tree8d98e91078e7c0a7e01b27238c8d091f3569f3ad
parentcf18eb7ca4ea6bf07570044656b70348699e6f2b
(process_file): Don't overflow for files of size >= 2^31
on systems with stat.st_blocks of a signed 32-bit type.
This bug causes trouble on some AIX 5.1 systems.
Report and trivial patch from Paul Townsend:
<http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00033.html>
src/du.c