]> icculus.org git repositories - icculus/xz.git/commit
Make liblzma produce the same output on both endiannesses.
authorLasse Collin <lasse.collin@tukaani.org>
Fri, 2 Oct 2009 08:03:26 +0000 (11:03 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 2 Oct 2009 08:03:26 +0000 (11:03 +0300)
commitc5f68b5cc79085a87f950fea53843e27f328068e
tree3de2840a1ac485bdb6b440a4f6236659f7962d8b
parent4a84d1adfda35e4fb4d41ecf0feb8223b100517a
Make liblzma produce the same output on both endiannesses.

Seems that it is a problem in some cases if the same
version of XZ Utils produces different output on different
endiannesses, so this commit fixes that problem. The output
will still vary between different XZ Utils versions, but I
cannot avoid that for now.

This commit bloatens the code on big endian systems by 1 KiB,
which should be OK since liblzma is bloated already. ;-)
src/liblzma/check/crc32_tablegen.c
src/liblzma/lz/Makefile.inc
src/liblzma/lz/lz_encoder.c
src/liblzma/lz/lz_encoder_hash.h
src/liblzma/lz/lz_encoder_hash_table.h [new file with mode: 0644]
src/liblzma/lz/lz_encoder_mf.c