]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
6 years agofixed msan warning 1350/head
Yann Collet [Wed, 3 Oct 2018 01:20:20 +0000 (18:20 -0700)] 
fixed msan warning

on btlazy2 strategy with dictAttach

6 years agoMerge pull request #1348 from facebook/donotdelete
Yann Collet [Tue, 2 Oct 2018 23:37:58 +0000 (16:37 -0700)] 
Merge pull request #1348 from facebook/donotdelete

Fix #1082

6 years agofixed static analyzer warnings 1348/head
Yann Collet [Tue, 2 Oct 2018 22:59:11 +0000 (15:59 -0700)] 
fixed static analyzer warnings

note : for some reason,
scan-build version on my laptop found problems within fastcover.c
that scan-build on travisCI does not flag.

They are, as usual, false positive :
the analyzer does not understand that a table (`offset`) is correctly filled before usage.

6 years agorestored backtrace on failure
Yann Collet [Tue, 2 Oct 2018 00:50:16 +0000 (17:50 -0700)] 
restored backtrace on failure

for Linux and Mac OS-X.

Note : the backtraces fires up through a trap
before the sanitizer get a chance to report.
There are situations where the sanitizer report is actually preferable.

It might be good to consider a kind of build macro
which can disable backtrace
when sanitizer is enabled.

6 years agoupdated NEWS in anticipation for v1.3.6
Yann Collet [Tue, 2 Oct 2018 00:49:18 +0000 (17:49 -0700)] 
updated NEWS in anticipation for v1.3.6

6 years agoMerge pull request #1317 from felixhandte/split-logs
Yann Collet [Tue, 2 Oct 2018 00:20:12 +0000 (17:20 -0700)] 
Merge pull request #1317 from felixhandte/split-logs

Independent Dictionary and Working Context Table Logs

6 years ago./zstd -f do no longer overwrite destination file
Yann Collet [Tue, 2 Oct 2018 00:16:34 +0000 (17:16 -0700)] 
./zstd -f do no longer overwrite destination file

if source file does not exist (#1082)

6 years agozstd -d -f do no longer erase destination file
Yann Collet [Mon, 1 Oct 2018 21:04:00 +0000 (14:04 -0700)] 
zstd -d -f do no longer erase destination file

when source file does not exist (#1082)

6 years agoRevert Ability to Set HashLog and ChainLog on Context When Dict is Attached 1317/head
W. Felix Handte [Mon, 1 Oct 2018 20:28:13 +0000 (13:28 -0700)] 
Revert Ability to Set HashLog and ChainLog on Context When Dict is Attached

This capability is not needed / used in the current unit of work. I'll
re-introduce it later, when we start allowing users to override the deduced
working context logs.

6 years agoregroup name creation logic into its own function
Yann Collet [Sat, 29 Sep 2018 01:19:23 +0000 (18:19 -0700)] 
regroup name creation logic into its own function

for a cleaner main file decompression loop

6 years agoMerge pull request #1347 from terrelln/werror
Yann Collet [Sat, 29 Sep 2018 00:34:49 +0000 (17:34 -0700)] 
Merge pull request #1347 from terrelln/werror

Add -Werror to *build rules

6 years agoMerge pull request #1346 from terrelln/small-block-fse
Yann Collet [Sat, 29 Sep 2018 00:34:27 +0000 (17:34 -0700)] 
Merge pull request #1346 from terrelln/small-block-fse

[zstd] Fix resetting FSE tables

6 years agoRestore Passing CParams to `ZSTD_insertAndFindFirstIndex_internal`
W. Felix Handte [Wed, 26 Sep 2018 17:56:28 +0000 (10:56 -0700)] 
Restore Passing CParams to `ZSTD_insertAndFindFirstIndex_internal`

6 years agoUse Working Ctx Logs when not in DMS Mode
W. Felix Handte [Thu, 13 Sep 2018 18:13:08 +0000 (11:13 -0700)] 
Use Working Ctx Logs when not in DMS Mode

We pre-hash the ptr for the dict match state sometimes. When that actually
happens, a hashlog of 0 can produce undefined behavior (right shift a long
long by 64). Only applies to unoptimized compilations, since when
optimizations are applied, those hash operations are dropped when we're not
actually in dms mode.

6 years agoWhen Attaching Dictionary, Size Working Tables Based on Input Size Only
W. Felix Handte [Wed, 12 Sep 2018 19:29:53 +0000 (12:29 -0700)] 
When Attaching Dictionary, Size Working Tables Based on Input Size Only

6 years agoRemove Log Overriding for the Time Being
W. Felix Handte [Wed, 12 Sep 2018 19:28:53 +0000 (12:28 -0700)] 
Remove Log Overriding for the Time Being

6 years agoRemove Strategy-Dependency in Making Attachment Decision
W. Felix Handte [Wed, 12 Sep 2018 19:04:04 +0000 (12:04 -0700)] 
Remove Strategy-Dependency in Making Attachment Decision

6 years agoSupport Split Logs in ZSTD_btopt..ZSTD_btultra
W. Felix Handte [Mon, 27 Aug 2018 23:37:04 +0000 (16:37 -0700)] 
Support Split Logs in ZSTD_btopt..ZSTD_btultra

6 years agoBump Split Log Support to ZSTD_btultra
W. Felix Handte [Mon, 27 Aug 2018 23:36:52 +0000 (16:36 -0700)] 
Bump Split Log Support to ZSTD_btultra

6 years agoSupport Split Logs in ZSTD_greedy..ZSTD_btlazy2
W. Felix Handte [Mon, 27 Aug 2018 23:19:41 +0000 (16:19 -0700)] 
Support Split Logs in ZSTD_greedy..ZSTD_btlazy2

6 years agoBump Split Log Support to ZSTD_btlazy2
W. Felix Handte [Mon, 27 Aug 2018 23:19:24 +0000 (16:19 -0700)] 
Bump Split Log Support to ZSTD_btlazy2

6 years agoSupport Split Logs in ZSTD_dfast
W. Felix Handte [Mon, 27 Aug 2018 22:23:51 +0000 (15:23 -0700)] 
Support Split Logs in ZSTD_dfast

6 years agoBump Split Log Support to ZSTD_dfast
W. Felix Handte [Mon, 27 Aug 2018 22:23:27 +0000 (15:23 -0700)] 
Bump Split Log Support to ZSTD_dfast

6 years agoSupport a Separate Hash Log in ZSTD_fast
W. Felix Handte [Thu, 23 Aug 2018 21:49:09 +0000 (14:49 -0700)] 
Support a Separate Hash Log in ZSTD_fast

6 years agoStop Passing in `hashLog` and `stepSize` to `ZSTD_compressBlock_fast_generic`
W. Felix Handte [Thu, 23 Aug 2018 21:21:35 +0000 (14:21 -0700)] 
Stop Passing in `hashLog` and `stepSize` to `ZSTD_compressBlock_fast_generic`

6 years agoTemporary Commit to Retain Requested Hash and Chain Logs During Dict Attach
W. Felix Handte [Mon, 27 Aug 2018 22:09:56 +0000 (15:09 -0700)] 
Temporary Commit to Retain Requested Hash and Chain Logs During Dict Attach

6 years agoAllow Setting Hash and Chain Logs on Contexts with Attached CDict
W. Felix Handte [Mon, 27 Aug 2018 22:09:25 +0000 (15:09 -0700)] 
Allow Setting Hash and Chain Logs on Contexts with Attached CDict

6 years agoFor Supported Strategies, Attach Dict Even When Params Don't Match
W. Felix Handte [Mon, 27 Aug 2018 20:21:01 +0000 (13:21 -0700)] 
For Supported Strategies, Attach Dict Even When Params Don't Match

6 years agoSplit Attach and Copy Reset Strategies into Separate Implementation Functions
W. Felix Handte [Fri, 24 Aug 2018 22:54:58 +0000 (15:54 -0700)] 
Split Attach and Copy Reset Strategies into Separate Implementation Functions

6 years agoPull Attachment Decision into Separate Function
W. Felix Handte [Fri, 24 Aug 2018 20:13:48 +0000 (13:13 -0700)] 
Pull Attachment Decision into Separate Function

6 years agoAnd Then Avoid the Unused Parameter Warning
W. Felix Handte [Thu, 23 Aug 2018 21:36:51 +0000 (14:36 -0700)] 
And Then Avoid the Unused Parameter Warning

6 years agoMove Asserts into Function to Avoid Unused Function Warning
W. Felix Handte [Thu, 23 Aug 2018 21:09:18 +0000 (14:09 -0700)] 
Move Asserts into Function to Avoid Unused Function Warning

6 years agoMove Match State CParams Setting into `resetCCtx` and `continueCCtx`
W. Felix Handte [Thu, 23 Aug 2018 19:53:16 +0000 (12:53 -0700)] 
Move Match State CParams Setting into `resetCCtx` and `continueCCtx`

6 years agoStrengthen Assertion to Assert Equality
W. Felix Handte [Thu, 23 Aug 2018 19:35:03 +0000 (12:35 -0700)] 
Strengthen Assertion to Assert Equality

6 years agoRemove CParams Arg from ZSTD_ldm_blockCompress
W. Felix Handte [Thu, 23 Aug 2018 19:21:27 +0000 (12:21 -0700)] 
Remove CParams Arg from ZSTD_ldm_blockCompress

6 years agoStop Separately Passing CParams in ZSTD_lazy Internal Functions
W. Felix Handte [Thu, 23 Aug 2018 19:17:58 +0000 (12:17 -0700)] 
Stop Separately Passing CParams in ZSTD_lazy Internal Functions

6 years agoStop Separately Passing CParams in ZSTD_opt Internal Functions
W. Felix Handte [Thu, 23 Aug 2018 19:11:20 +0000 (12:11 -0700)] 
Stop Separately Passing CParams in ZSTD_opt Internal Functions

6 years agoAlso Remove CParams from Table Filling Functions' Args
W. Felix Handte [Thu, 23 Aug 2018 19:08:03 +0000 (12:08 -0700)] 
Also Remove CParams from Table Filling Functions' Args

6 years agoAlso Assert Equivalency When Filling MatchState with Prefix
W. Felix Handte [Thu, 23 Aug 2018 18:57:54 +0000 (11:57 -0700)] 
Also Assert Equivalency When Filling MatchState with Prefix

6 years agoRemove CParams from Block Compressor Functions' Args
W. Felix Handte [Thu, 23 Aug 2018 18:53:34 +0000 (11:53 -0700)] 
Remove CParams from Block Compressor Functions' Args

6 years agoAssert `ctx` and `ms` cparams Equivalency
W. Felix Handte [Thu, 23 Aug 2018 18:38:35 +0000 (11:38 -0700)] 
Assert `ctx` and `ms` cparams Equivalency

6 years agoRemove cParams from CDict
W. Felix Handte [Thu, 23 Aug 2018 18:33:08 +0000 (11:33 -0700)] 
Remove cParams from CDict

6 years agoAdd ZSTD_compressionParameters to ZSTD_matchState_t
W. Felix Handte [Thu, 23 Aug 2018 18:32:32 +0000 (11:32 -0700)] 
Add ZSTD_compressionParameters to ZSTD_matchState_t

6 years agochanged macro name
Yann Collet [Fri, 28 Sep 2018 23:04:00 +0000 (16:04 -0700)] 
changed macro name

from EXIT_IF() to RETURN_IF()

EXIT could be misunderstood as exit(), which terminates program execution.
But the macro only leaves the function, not the program.

6 years agominor improvement in the multi-format suffix selection
Yann Collet [Fri, 28 Sep 2018 22:57:35 +0000 (15:57 -0700)] 
minor improvement in the multi-format suffix selection

6 years agoFix minigzip in std=c99 mode 1347/head
Nick Terrell [Fri, 28 Sep 2018 22:28:34 +0000 (15:28 -0700)] 
Fix minigzip in std=c99 mode

6 years ago[util] Fix lstat feature test macro
Nick Terrell [Fri, 28 Sep 2018 22:08:15 +0000 (15:08 -0700)] 
[util] Fix lstat feature test macro

6 years agoAdd -Werror to *build rules
Nick Terrell [Fri, 28 Sep 2018 21:59:40 +0000 (14:59 -0700)] 
Add -Werror to *build rules

6 years agoFix another warning 1346/head
Nick Terrell [Fri, 28 Sep 2018 21:24:38 +0000 (14:24 -0700)] 
Fix another warning

6 years agoFix warnings
Nick Terrell [Fri, 28 Sep 2018 19:14:24 +0000 (12:14 -0700)] 
Fix warnings

6 years ago[zstd] Fix newly added test case
Nick Terrell [Fri, 28 Sep 2018 19:09:28 +0000 (12:09 -0700)] 
[zstd] Fix newly added  test case

6 years ago[zstreamtest] Add failing test case
Nick Terrell [Fri, 28 Sep 2018 19:09:14 +0000 (12:09 -0700)] 
[zstreamtest] Add failing test case

6 years agofixed unreachable section warning on Visual
Yann Collet [Fri, 28 Sep 2018 16:34:16 +0000 (09:34 -0700)] 
fixed unreachable section warning on Visual

6 years agoMerge pull request #1343 from terrelln/faster-ci
Nick Terrell [Fri, 28 Sep 2018 02:29:02 +0000 (19:29 -0700)] 
Merge pull request #1343 from terrelln/faster-ci

[zstreamtest] Reduce memory of newapi tests

6 years agoMerge branch 'dev' into donotdelete
Yann Collet [Fri, 28 Sep 2018 02:23:55 +0000 (19:23 -0700)] 
Merge branch 'dev' into donotdelete

6 years agoMerge pull request #1345 from facebook/fixLegacy
Yann Collet [Fri, 28 Sep 2018 02:23:27 +0000 (19:23 -0700)] 
Merge pull request #1345 from facebook/fixLegacy

fixed legacy compilation tests

6 years agofixed minor Visual conversion warnings
Yann Collet [Fri, 28 Sep 2018 01:29:15 +0000 (18:29 -0700)] 
fixed minor Visual conversion warnings

6 years agofixed longmatch test too 1345/head
Yann Collet [Fri, 28 Sep 2018 01:24:41 +0000 (18:24 -0700)] 
fixed longmatch test too

6 years agofixed legacy compilation tests
Yann Collet [Fri, 28 Sep 2018 01:15:14 +0000 (18:15 -0700)] 
fixed legacy compilation tests

for some reason, these tests started failing recently on CircleCI

6 years agoMerge pull request #1344 from terrelln/grub-fixes
Yann Collet [Fri, 28 Sep 2018 00:36:54 +0000 (17:36 -0700)] 
Merge pull request #1344 from terrelln/grub-fixes

Fixes for GRUB

6 years agominor refactoring of --list
Yann Collet [Thu, 27 Sep 2018 23:49:08 +0000 (16:49 -0700)] 
minor refactoring of --list

trying to reduce recurrent patterns.

6 years agoRestore ZSTD_noCompressBlock() for clarity 1344/head
Nick Terrell [Thu, 27 Sep 2018 23:06:02 +0000 (16:06 -0700)] 
Restore ZSTD_noCompressBlock() for clarity

6 years agoReset number of threads less often 1343/head
Nick Terrell [Thu, 27 Sep 2018 22:49:31 +0000 (15:49 -0700)] 
Reset number of threads less often

6 years agoChange byte to value to avoid a GRUB typedef
Nick Terrell [Thu, 27 Sep 2018 22:23:20 +0000 (15:23 -0700)] 
Change byte to value to avoid a GRUB typedef

6 years agoInclude stddef.h for size_t
Nick Terrell [Thu, 27 Sep 2018 22:22:34 +0000 (15:22 -0700)] 
Include stddef.h for size_t

6 years ago[zstd] Add -Wmissing-prototypes
Nick Terrell [Thu, 27 Sep 2018 22:13:43 +0000 (15:13 -0700)] 
[zstd] Add -Wmissing-prototypes

6 years agoMore aggressive limitations
Nick Terrell [Thu, 27 Sep 2018 20:55:24 +0000 (13:55 -0700)] 
More aggressive limitations

6 years ago[zstreamtest] Reduce memory of newapi tests
Nick Terrell [Thu, 27 Sep 2018 19:48:29 +0000 (12:48 -0700)] 
[zstreamtest] Reduce memory of newapi tests

We could allocate up to 2^28 bytes of memory when using 2 threads with
window log = 24. Now, we limit it to 2^26 bytes of memory when not running
big tests.

I chose max window log = 22 since that is the maximum source size when
big tests are disabled. Hopefully this will be enough to reduce or
eliminate the test failures.

6 years agoMerge pull request #1342 from facebook/fixcatyd
Yann Collet [Thu, 27 Sep 2018 17:20:14 +0000 (10:20 -0700)] 
Merge pull request #1342 from facebook/fixcatyd

fix : huge (>4GB) chain of blocks

6 years agomoved again overflow correction 1342/head
Yann Collet [Thu, 27 Sep 2018 01:06:53 +0000 (18:06 -0700)] 
moved again overflow correction

cannot work from within ZSTD_compressBlock()

6 years agoMerge pull request #1340 from terrelln/generate-artifacts
Yann Collet [Wed, 26 Sep 2018 22:52:23 +0000 (15:52 -0700)] 
Merge pull request #1340 from terrelln/generate-artifacts

Publish artifacts with CircleCI

6 years agochanged overflow correction place
Yann Collet [Wed, 26 Sep 2018 22:35:38 +0000 (15:35 -0700)] 
changed overflow correction place

keep one in compress_frameChunk(),
so that it's tested at every loop
in case some user simply some large mulit-GB input in a single invocation.

Add one in ZSTD_compressBlock(),
since compressBlock() explicitly skips frameChunk().

6 years agoMerge pull request #1339 from facebook/grep_colors
Yann Collet [Wed, 26 Sep 2018 21:39:20 +0000 (14:39 -0700)] 
Merge pull request #1339 from facebook/grep_colors

fixed usage of grep in Makefile

6 years agoMerge pull request #1327 from facebook/adapt
Yann Collet [Wed, 26 Sep 2018 21:39:08 +0000 (14:39 -0700)] 
Merge pull request #1327 from facebook/adapt

Adaptive compression

6 years agofix : huge (>4GB) stream of blocks
Yann Collet [Wed, 26 Sep 2018 21:24:28 +0000 (14:24 -0700)] 
fix : huge (>4GB) stream of blocks

experimental function ZSTD_compressBlock() is designed for very small data in mind,
for situation where saving the ~12 bytes of frame header can actually make a difference.

Some systems though may have to deal with small and large data entangled.
If it's larger than a block (> 128KB), compressBlock() cannot compress them in one round.

That's why it's possible to compress in multiple rounds.
This is a chain of compressed blocks.

Some users push this capability to the limit, encoding gigantic chain of blocks.
On crossing the 4GB limit, some internal overflow occurs.

This fix moves the overflow correction mechanism higher in the call chain,
so that it's applied also to gigantic chains of blocks.

Added a test case in fuzzer.c, which crashes before the fix, and pass now.

6 years agoMerge pull request #1338 from facebook/rfc
Yann Collet [Wed, 26 Sep 2018 20:40:35 +0000 (13:40 -0700)] 
Merge pull request #1338 from facebook/rfc

updated format documentation

6 years agoMerge pull request #1337 from facebook/test_failure
Yann Collet [Wed, 26 Sep 2018 20:40:20 +0000 (13:40 -0700)] 
Merge pull request #1337 from facebook/test_failure

fixed `!` tests

6 years agoMerge pull request #1329 from facebook/v04isout
Yann Collet [Wed, 26 Sep 2018 20:39:05 +0000 (13:39 -0700)] 
Merge pull request #1329 from facebook/v04isout

 Changed default legacy support to v0.5+

6 years agoPublish artifacts with CircleCI 1340/head v0.0.29
Nick Terrell [Tue, 25 Sep 2018 23:10:17 +0000 (16:10 -0700)] 
Publish artifacts with CircleCI

* Updates CircleCI to use workflows.
  We can now specify any number of test jobs to run in parallel.
* Switch the image to `buildpack-deps:trusty` which is only 500 MB
  instead of 7 GB, so that saves 7 minutes to download it if it isn't
  already cached on the host.
* Publish the source tarball and sha256sum as artifacts.
* If the `GITHUB_TOKEN` environment variable is set, we will also
  add the tarball + sha256sum to the tagged release, after manual
  approval.

6 years agofixed usage of grep in Makefile 1339/head
Yann Collet [Tue, 25 Sep 2018 23:56:53 +0000 (16:56 -0700)] 
fixed usage of grep in Makefile

when terminal uses colors
as suggested by @danielshir (#1294)

6 years agoupdated format documentation 1338/head
Yann Collet [Tue, 25 Sep 2018 23:34:26 +0000 (16:34 -0700)] 
updated format documentation

to match last edits of RFC8478.

6 years agobounds for --adapt mode 1327/head
Yann Collet [Tue, 25 Sep 2018 01:16:08 +0000 (18:16 -0700)] 
bounds for --adapt mode

can supply min and max compression level through advanced command :
--adapt=min=#,max=#

6 years agofixed `!` tests 1337/head
Yann Collet [Tue, 25 Sep 2018 22:57:28 +0000 (15:57 -0700)] 
fixed `!` tests

Sometimes, it's necessary to test that a certain command fail, as expected.
Such failure is actually a success, and must not stop the flow of tests.

Several tests were prefixed with `!` to invert return code.
This does not work : it effectively makes the tests pass no matter what.

Use instead function die(), which is meant to trap successes, and transform them into errors.

6 years agoMerge branch 'dev' into adapt
Yann Collet [Mon, 24 Sep 2018 23:56:45 +0000 (16:56 -0700)] 
Merge branch 'dev' into adapt

6 years agoMerge pull request #1332 from facebook/minclevel
Yann Collet [Mon, 24 Sep 2018 23:01:13 +0000 (16:01 -0700)] 
Merge pull request #1332 from facebook/minclevel

defined a minimum negative level

6 years agoMerge pull request #1336 from facebook/scanbuild
Yann Collet [Mon, 24 Sep 2018 21:49:16 +0000 (14:49 -0700)] 
Merge pull request #1336 from facebook/scanbuild

fixed minor scan-build warnings

6 years agoMerge pull request #1335 from facebook/limits
Yann Collet [Mon, 24 Sep 2018 21:49:03 +0000 (14:49 -0700)] 
Merge pull request #1335 from facebook/limits

added some tests based on limits.h

6 years agofixed minor scan-build warnings 1336/head
Yann Collet [Mon, 24 Sep 2018 07:52:19 +0000 (00:52 -0700)] 
fixed minor scan-build warnings

6 years agoadded some tests based on limits.h 1335/head
Yann Collet [Mon, 24 Sep 2018 06:57:30 +0000 (23:57 -0700)] 
added some tests based on limits.h

in order to ensure proper type mapping
when not using stdint.h

6 years agofixed zstd-decompress 1332/head
Yann Collet [Sun, 23 Sep 2018 00:21:39 +0000 (17:21 -0700)] 
fixed zstd-decompress

which cannot support ZSTD_minCLevel()

6 years agoMerge pull request #1331 from facebook/mingw
Yann Collet [Sat, 22 Sep 2018 23:11:55 +0000 (16:11 -0700)] 
Merge pull request #1331 from facebook/mingw

fix mingw compatibility

6 years agoenforce minimum compression level limit
Yann Collet [Sat, 22 Sep 2018 23:10:10 +0000 (16:10 -0700)] 
enforce minimum compression level limit

using ZSTD_minCLevel()

6 years agofixed constant comparison on 32-bits systems
Yann Collet [Sat, 22 Sep 2018 01:23:32 +0000 (18:23 -0700)] 
fixed constant comparison on 32-bits systems

6 years agoavoid recompiling dll every time under mingw 1331/head
Yann Collet [Sat, 22 Sep 2018 00:40:30 +0000 (17:40 -0700)] 
avoid recompiling dll every time under mingw

6 years agofix pzstd compatibility with mingw
Yann Collet [Sat, 22 Sep 2018 00:36:00 +0000 (17:36 -0700)] 
fix pzstd compatibility with mingw

some details changed with introduction of gcc7

6 years agofix constant redeclaration in paramgrill
Yann Collet [Sat, 22 Sep 2018 00:28:37 +0000 (17:28 -0700)] 
fix constant redeclaration in paramgrill

6 years agosimplified "slows down when compression blocked"
Yann Collet [Fri, 21 Sep 2018 23:35:43 +0000 (16:35 -0700)] 
simplified "slows down when compression blocked"

6 years agoMerge branch 'mingw' into adapt
Yann Collet [Fri, 21 Sep 2018 23:00:46 +0000 (16:00 -0700)] 
Merge branch 'mingw' into adapt

6 years agoensure all writes to job->cSize are mutex protected
Yann Collet [Fri, 21 Sep 2018 22:37:30 +0000 (15:37 -0700)] 
ensure all writes to job->cSize are mutex protected

even when reporting errors,
using a macro for code brevity, as suggested by @terrelln,

6 years agofixed tautological tests
Yann Collet [Fri, 21 Sep 2018 22:04:43 +0000 (15:04 -0700)] 
fixed tautological tests

involving ZSTD_TARGETLENGTH_MIN (== 0)