aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/powerpc.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-09-17liblzma: Simple/BCJ filters: Allow disabling generic BCJ options.Lasse Collin1-1/+1
This will be needed for the ARM64 BCJ filter as it will use its own options struct.
2019-06-23liblzma: Fix warnings from -Wsign-conversion.Lasse Collin1-4/+5
Also, more parentheses were added to the literal_subcoder macro in lzma_comon.h (better style but no functional change in the current usage).
2016-11-21liblzma: Avoid multiple definitions of lzma_coder structures.Lasse Collin1-1/+1
Only one definition was visible in a translation unit. It avoided a few casts and temp variables but seems that this hack doesn't work with link-time optimizations in compilers as it's not C99/C11 compliant. Fixes: http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html
2012-07-17liblzma: Make the use of lzma_allocator const-correct.Lasse Collin1-3/+5
There is a tiny risk of causing breakage: If an application assigns lzma_stream.allocator to a non-const pointer, such code won't compile anymore. I don't know why anyone would do such a thing though, so in practice this shouldn't cause trouble. Thanks to Jan Kratochvil for the patch.
2011-05-17Add underscores to attributes (__attribute((__foo__))).Lasse Collin1-1/+1
2009-07-10BCJ filters: Reject invalid start offsets with LZMA_OPTIONS_ERROR.Lasse Collin1-1/+1
This is a quick and slightly dirty fix to make the code conform to the latest file format specification. Without this patch, it's possible to make corrupt files by specifying start offset that is not a multiple of the filter's alignment. Custom start offset is almost never used, so this was only a minor bug. The xz command line tool doesn't validate the start offset, so one will get a bit unclear error message if trying to use an invalid start offset.
2009-04-13Put the interesting parts of XZ Utils into the public domain.Lasse Collin1-12/+5
Some minor documentation cleanups were made at the same time.
2007-12-09Imported to git.Lasse Collin1-0/+80