Skip to content

[zstd][errors] Get rid of static error code translation and use C call - #29

Merged
Viq111 merged 4 commits into
1.xfrom
viq111/fix-error-assignment
Mar 14, 2018
Merged

[zstd][errors] Get rid of static error code translation and use C call#29
Viq111 merged 4 commits into
1.xfrom
viq111/fix-error-assignment

Conversation

@Viq111

Copy link
Copy Markdown
Collaborator
  • Errors were defined in private C/header files and we needed to change them every release (FIXME: this is very fragile, must map 1-to-1 with zstd's)
  • We actually just need DstSizeTooSmall error which we now have a check for and a test

- Errors were defined in private C/header files and we needed to change them every release (FIXME: this is very fragile, must map 1-to-1 with zstd's)
- We actually just need DstSizeTooSmall error which we now have a check for and a test
@Viq111Viq111 mentioned this pull request Mar 14, 2018
TestFindIsDstSizeTooSmallError now check that there is ONE AND ONLY ONE zstd error that corresponds to DstSizeTooSmall error to make sure the check is not too leniant (before just tested we had at least one)
Add comments to exported variables and methods
@Viq111
Viq111 merged commit de6590b into 1.xMar 14, 2018
@Viq111
Viq111 deleted the viq111/fix-error-assignment branch March 14, 2018 12:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Viq111@niamster