You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running zstd filename -o filename deletes the contents of the file before erroring. Because compressed files are normally saved with a format specific extension, I see no reason to support this kind of operation. To prevent inadvertent data loss, the CLI should error before the file contents are deleted though.
The text was updated successfully, but these errors were encountered:
Compare the input and output files by their inode number and
refuse to open the output file if the input file is the same.
This doesn't work when (de)compressing multiple files to a single
file, but that is a very uncommon use case, mostly used for
benchmarking by me.
Fixesfacebook#1422.
Running zstd filename -o filename deletes the contents of the file before erroring. Because compressed files are normally saved with a format specific extension, I see no reason to support this kind of operation. To prevent inadvertent data loss, the CLI should error before the file contents are deleted though.
The text was updated successfully, but these errors were encountered: