(copy_reg): Store file size as off_t, not long.
authorJim Meyering <jim@meyering.net>
Sun, 30 Nov 1997 10:24:50 +0000 (10:24 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 30 Nov 1997 10:24:50 +0000 (10:24 +0000)
commitb8c474191af9b458b0b9a82eaa1e28a44730f544
tree2ce8f96f2f2f1c1927ea10472750c217ebea7866
parent0f411474da3c368558be98b06daafc7c8a4f50be
(copy_reg): Store file size as off_t, not long.
Do not assume st_size has been normalized to 512 byte blocks,
or that it fits in size_t after dividing by the blocksize.
src/copy.c