We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The size of a huge file is printed incorrectly with zstd -vvv.
zstd -vvv
% truncate -s4g zero.bin % /usr/local/bin/zstd -fvvv zero.bin *** zstd command line interface 64-bits v1.4.8, by Yann Collet *** set nb workers = 1 zero.bin: 0 bytes zero.bin : 0.00% (4294967296 => 134676 bytes, zero.bin.zst) zero.bin : Completed in 4.30 sec (cpu load : 100%)
Expected:
zero.bin: 4294967296 bytes
The reason is that it is truncated to lower 32-bit in DISPLAYLEVEL().
DISPLAYLEVEL()
zstd/programs/fileio.c
Line 1512 in 5158071
This can be solved by changing the display to show the value as 64-bit.
The text was updated successfully, but these errors were encountered:
9fb4a42
Merge pull request #2550 from facebook/vvv_srcSize
8b97931
fix #2549
No branches or pull requests
Describe the bug
The size of a huge file is printed incorrectly with
zstd -vvv
.To Reproduce
Expected behavior
Expected:
Desktop (please complete the following information):
Additional context
The reason is that it is truncated to lower 32-bit in
DISPLAYLEVEL()
.zstd/programs/fileio.c
Line 1512 in 5158071
This can be solved by changing the display to show the value as 64-bit.
The text was updated successfully, but these errors were encountered: