The implementation of ValidateDiskSpace is prone to overflows of the 32bit DWORD variables. This causes occasional false positive user error messages about insufficient disk space. That is especially likely to happen with disks that have a couple of terabytes of capacity.
The function is rewritten using C++17 STL facilities.
The implementation of
ValidateDiskSpace
is prone to overflows of the 32bitDWORD
variables. This causes occasional false positive user error messages about insufficient disk space. That is especially likely to happen with disks that have a couple of terabytes of capacity. The function is rewritten using C++17 STL facilities.