]> git.ipfire.org Git - thirdparty/zstd.git/commit
pinned down error code enum values
authorYann Collet <cyan@fb.com>
Fri, 14 Jul 2017 00:12:16 +0000 (17:12 -0700)
committerYann Collet <cyan@fb.com>
Fri, 14 Jul 2017 00:12:16 +0000 (17:12 -0700)
commit2bd6440be0b36304722b20a6fcc7052c197fd33d
treeb33536a5daca1d63d522ba12100e39aeb37f229c
parent3502426fd48e6e5701f06fad1acd26f929095d6b
pinned down error code enum values

Note : all error codes are changed by this new version,
but it's expected to be the last change for existing codes.

Codes are now grouped by category, and receive a manually attributed value.
The objective is to guarantee that
error code values will not change in the future
when introducing new codes.
Intentionnal empty spaces and ranges are defined
in order to keep room for potential new codes.
NEWS
lib/common/error_private.c
lib/common/zstd_errors.h
lib/compress/zstd_compress.c
lib/compress/zstdmt_compress.c
lib/decompress/zstd_decompress.c
lib/dictBuilder/zdict.c
lib/legacy/zstd_v04.c
lib/legacy/zstd_v05.c
lib/legacy/zstd_v06.c