We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #6194: Windows fileinfo: wrong size for files exceeding 4 GB

ComponentChecks & Agents
TitleWindows fileinfo: wrong size for files exceeding 4 GB
Date2018-08-07 16:54:02
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0b1,1.5.0p1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

The sizes of files exceeding 4 GB were displayed wrong as FILE_SIZE % 4 GB instead of the correct size. The bug was due to a faulty implementation of C++ std::filesystem::file_size on Windows. The workaround uses 'old' WinAPI for obtaining the correct file size.