mirror of
https://github.com/gulrak/filesystem.git
synced 2025-12-06 16:56:40 +08:00
This ensures that all cases where the result actually does fit in a uintmax_t are correctly handled. Before, the multiplication could be performed in a smaller type, leading to an incorrect result or, worse, undefined behavior due to signed integer overflow. This fixes a test failure that was actually observed on an i686 Linux system. |
||
|---|---|---|
| .. | ||
| filesystem.hpp | ||
| fs_fwd.hpp | ||
| fs_impl.hpp | ||
| fs_std_fwd.hpp | ||
| fs_std_impl.hpp | ||
| fs_std.hpp | ||