(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)
commit1cc4ba44c23782d32d4d2986b355e336f5e21335
treeee0f0aebf7d30815587367e8f749b807060a7b3a
parent05807594ee505b62ac7492d28370661aa0a1560a
(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