Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.am | ||
Makefile.in | ||
cow-dir.cc | ||
cow-ops.cc | ||
cow-path.cc | ||
cow-std-dir.cc | ||
cow-std-ops.cc | ||
cow-std-path.cc | ||
dir-common.h | ||
dir.cc | ||
ops-common.h | ||
ops.cc | ||
path.cc | ||
std-dir.cc | ||
std-ops.cc | ||
std-path.cc |
On 32-bit targets any values over 4GB would wrap and produce the wrong result. PR libstdc++/85632 use uintmax_t for arithmetic * src/filesystem/ops.cc (experimental::filesystem::space): Perform arithmetic in result type. * src/filesystem/std-ops.cc (filesystem::space): Likewise. * testsuite/27_io/filesystem/operations/space.cc: Check total capacity is greater than free space. * testsuite/experimental/filesystem/operations/space.cc: New. From-SVN: r259901
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
cow-dir.cc | Loading commit data... | |
cow-ops.cc | Loading commit data... | |
cow-path.cc | Loading commit data... | |
cow-std-dir.cc | Loading commit data... | |
cow-std-ops.cc | Loading commit data... | |
cow-std-path.cc | Loading commit data... | |
dir-common.h | Loading commit data... | |
dir.cc | Loading commit data... | |
ops-common.h | Loading commit data... | |
ops.cc | Loading commit data... | |
path.cc | Loading commit data... | |
std-dir.cc | Loading commit data... | |
std-ops.cc | Loading commit data... | |
std-path.cc | Loading commit data... |