Bug
If you try to compress and then extract an empty json object, clp-s issues the following errors.
2024-09-09T17:59:45.756-04:00 [error] FileWriter not closed before being destroyed - may cause data loss
2024-09-09T17:59:45.757-04:00 [error] src/clp_s/ZstdDecompressor.cpp:43 Error code: 1
CLP version
9537fde
Environment
macOS 12.5
Reproduction steps
To reproduce the error, try the following commands with the empty json file.
test-empty.json
./clp-s c test-archive test-empty.json
./clp-s x test-archive test-decompress
Bug
If you try to compress and then extract an empty json object, clp-s issues the following errors.
CLP version
9537fde
Environment
macOS 12.5
Reproduction steps
To reproduce the error, try the following commands with the empty json file.
test-empty.json