When an empty input file was passed to the dictionary trainer, it would infinite loop. The added test case exposes the bug, and is fixed with this PR.
2 lines
28 B
Plaintext
2 lines
28 B
Plaintext
zstd -q --train empty file*
|