From: inikep Date: Thu, 4 Aug 2016 09:25:52 +0000 (+0200) Subject: .travis.yml: clang test joined into bigger test X-Git-Tag: v0.8.1^2~22^2~1^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f270ac851c8385643e491aa45049fd478fabbfa;p=thirdparty%2Fzstd.git .travis.yml: clang test joined into bigger test --- diff --git a/.travis.yml b/.travis.yml index d160e36a2..2e4611cac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,10 +28,7 @@ matrix: # Standard Ubuntu 12.04 LTS Server Edition 64 bit - os: linux sudo: required - env: PLATFORM="Ubuntu 12.04" CMD="make libc6install clangtest" - - os: linux - sudo: required - env: PLATFORM="Ubuntu 12.04" CMD="make gppinstall gpptest && make clean && make libc6install gnu90test && make clean && make libc6install c99test && make clean && make libc6install gnu99test" + env: PLATFORM="Ubuntu 12.04" CMD="make gppinstall gpptest && make clean && make libc6install gnu90test && make clean && make c99test && make clean && make gnu99test && make clean && make clangtest" - os: linux sudo: required env: PLATFORM="Ubuntu 12.04" CMD="make arminstall armtest" @@ -66,7 +63,7 @@ matrix: env: PLATFORM="Ubuntu 14.04" CMD="make zlibwrapper" # OS X Mavericks - os: osx - env: PLATFORM="OS X Mavericks" CMD="make gnu90test && make clean && make gnu90test && make clean && make travis-install" + env: PLATFORM="OS X Mavericks" CMD="make gnu90test && make clean && make test && make clean && make travis-install" exclude: - compiler: gcc diff --git a/zlibWrapper/zstd_zlibwrapper.c b/zlibWrapper/zstd_zlibwrapper.c index 06667b610..34de73a6d 100644 --- a/zlibWrapper/zstd_zlibwrapper.c +++ b/zlibWrapper/zstd_zlibwrapper.c @@ -29,14 +29,15 @@ - zstd source repository : https://github.com/Cyan4973/zstd */ -#include /* va_list, for z_gzprintf */ +#include /* vsprintf */ +#include /* va_list, for z_gzprintf */ #include #include "zstd_zlibwrapper.h" #define ZSTD_STATIC_LINKING_ONLY /* ZSTD_MAGICNUMBER */ #include "zstd.h" #define ZBUFF_STATIC_LINKING_ONLY /* ZBUFF_createCCtx_advanced */ #include "zbuff.h" -#include "zstd_internal.h" /* defaultCustomMem */ +#include "zstd_internal.h" /* defaultCustomMem */ #define Z_INFLATE_SYNC 8 diff --git a/zstd_compression_format.md b/zstd_compression_format.md index f35e8711a..1c5908fa5 100644 --- a/zstd_compression_format.md +++ b/zstd_compression_format.md @@ -422,8 +422,8 @@ All literals are regrouped in the first part of the block. They can be decoded first, and then copied during sequence operations, or they can be decoded on the flow, as needed by sequence commands. -| `Literals_Section_Header` | [Huffman Tree Description] | Stream1 | [Stream2] | [Stream3] | [Stream4] | -| ------------------------- | -------------------------- | ------- | --------- | --------- | --------- | +| `Literals_Section_Header` | [`Huffman_Tree_Description`] | Stream1 | [Stream2] | [Stream3] | [Stream4] | +| ------------------------- | ---------------------------- | ------- | --------- | --------- | --------- | Literals can be stored uncompressed or compressed using Huffman prefix codes. When compressed, an optional tree description can be present, @@ -499,12 +499,12 @@ __`Size_Format` for `Compressed_Literals_Block` and `Repeat_Stats_Literals_Block `Compressed_Size` and `Regenerated_Size` use 18 bits (0-262143). Total literal header size is 5 bytes. -`Compressed_Size` and `Regenerated_Size` size fields follow little-endian convention. +`Compressed_Size` and `Regenerated_Size` fields follow little-endian convention. -#### Huffman Tree description +#### `Huffman_Tree_Description` -This section is only present when literals block type is `Compressed` (`0`). +This section is only present when literals block type is `Compressed_Block` (`2`). Prefix coding represents symbols from an a priori known alphabet by bit sequences (codewords), one codeword for each symbol, @@ -686,7 +686,7 @@ hence reaching exactly its beginning position with _all_ bits consumed, the decoding process is considered faulty. -### Sequences section +### `Sequences_Section` A compressed block is a succession of _sequences_ . A sequence is a literal copy command, followed by a match copy command.