summaryrefslogtreecommitdiffstats
path: root/Python/legacy_tracing.c
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2024-02-10 10:16:45 (GMT)
committerGitHub <noreply@github.com>2024-02-10 10:16:45 (GMT)
commit6e222a55b1d63de994a2ca39afd4bbf4d2fbdd34 (patch)
tree298b32e8b20434cd1852a0970659636dd9141602 /Python/legacy_tracing.c
parente19103a346f0277c44a43dfaebad9a5aa468bf1e (diff)
downloadcpython-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/legacy_tracing.c')
0 files changed, 0 insertions, 0 deletions