(st_blocks): long -> off_t.
authorJim Meyering <jim@meyering.net>
Sun, 30 Nov 1997 10:24:20 +0000 (10:24 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 30 Nov 1997 10:24:20 +0000 (10:24 +0000)
commitf633782aa195bfffd88950f73135db26297bff2e
tree7ffae2188b59852e4f71555b57a2d4b2f0a1b07a
parentce43e130bb2ff34a8020061db7a9339061810530
(st_blocks): long -> off_t.
Avoid arithmetic overflow when size is near max.
Depend on _POSIX_SOURCE and BSIZE, not _POSIX_VERSION, for
compatibility with system.h.
(BSIZE): Remove definition, since if BSIZE is not defined
we're never invoked.
lib/fileblocks.c