diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2024-02-10 10:16:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 10:16:45 (GMT) |
commit | 6e222a55b1d63de994a2ca39afd4bbf4d2fbdd34 (patch) | |
tree | 298b32e8b20434cd1852a0970659636dd9141602 /Python/lock.c | |
parent | e19103a346f0277c44a43dfaebad9a5aa468bf1e (diff) | |
download | cpython-6e222a55b1d63de994a2ca39afd4bbf4d2fbdd34.zip cpython-6e222a55b1d63de994a2ca39afd4bbf4d2fbdd34.tar.gz cpython-6e222a55b1d63de994a2ca39afd4bbf4d2fbdd34.tar.bz2 |
GH-87804: Fix counter overflow in statvfs on macOS (#99570)
On macOS the statvfs interface returns block counts as
32-bit integers, and that results in bad reporting for
larger disks.
Therefore reimplement statvfs in terms of statfs, which
does use 64-bit integers for block counts.
Tested using a sparse filesystem image of 100TB.
Diffstat (limited to 'Python/lock.c')
0 files changed, 0 insertions, 0 deletions