aboutsummaryrefslogtreecommitdiff
path: root/doc/lzma-file-format.txt (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-07-24liblzma: Add optional autodetection of LZMA end marker.Lasse Collin1-2/+9
Turns out that this is needed for .lzma files as the spec in LZMA SDK says that end marker may be present even if the size is stored in the header. Such files are rare but exist in the real world. The code in liblzma is so old that the spec didn't exist in LZMA SDK back then and I had understood that such files weren't possible (the lzma tool in LZMA SDK didn't create such files). This modifies the internal API so that LZMA decoder can be told if EOPM is allowed even when the uncompressed size is known. It's allowed with .lzma and not with other uses. Thanks to Karl Beldan for reporting the problem.
2011-04-12Remove doubled words from documentation and comments.Lasse Collin1-2/+2
Spot candidates by running these commands: git ls-files |xargs perl -0777 -n \ -e 'while (/\b(then?|[iao]n|i[fst]|but|f?or|at|and|[dt]o)\s+\1\b/gims)' \ -e '{$n=($` =~ tr/\n/\n/ + 1); ($v=$&)=~s/\n/\\n/g; print "$ARGV:$n:$v\n"}' Thanks to Jim Meyering for the original patch.
2009-05-01Added documentation about the legacy .lzma file format.Lasse Collin1-0/+166