Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/xz/dist Import xz 5.2.4.



details:   https://anonhg.NetBSD.org/src/rev/dae2cad871cd
branches:  trunk
changeset: 433633:dae2cad871cd
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Sep 24 22:36:01 2018 +0000

description:
Import xz 5.2.4.

diffstat:

 external/public-domain/xz/dist/COPYING                                             |      2 +-
 external/public-domain/xz/dist/ChangeLog                                           |  11378 +----
 external/public-domain/xz/dist/INSTALL                                             |     93 +-
 external/public-domain/xz/dist/NEWS                                                |     87 +-
 external/public-domain/xz/dist/README                                              |      2 +-
 external/public-domain/xz/dist/THANKS                                              |     12 +
 external/public-domain/xz/dist/build-aux/compile                                   |    348 +
 external/public-domain/xz/dist/build-aux/config.guess                              |   1473 +
 external/public-domain/xz/dist/build-aux/config.rpath                              |    690 +
 external/public-domain/xz/dist/build-aux/config.sub                                |   1836 +
 external/public-domain/xz/dist/build-aux/depcomp                                   |    791 +
 external/public-domain/xz/dist/build-aux/install-sh                                |    501 +
 external/public-domain/xz/dist/build-aux/ltmain.sh                                 |  11369 +++++
 external/public-domain/xz/dist/build-aux/manconv.sh                                |     58 +
 external/public-domain/xz/dist/build-aux/missing                                   |    215 +
 external/public-domain/xz/dist/build-aux/version.sh                                |     24 +
 external/public-domain/xz/dist/config.h.in                                         |     29 +-
 external/public-domain/xz/dist/configure                                           |  22446 ++++++++++
 external/public-domain/xz/dist/doc/examples/02_decompress.c                        |      2 +-
 external/public-domain/xz/dist/doc/faq.txt                                         |      4 +-
 external/public-domain/xz/dist/m4/tuklib_cpucores.m4                               |     45 +-
 external/public-domain/xz/dist/m4/tuklib_physmem.m4                                |      6 +-
 external/public-domain/xz/dist/po/cs.gmo                                           |    Bin 
 external/public-domain/xz/dist/po/cs.po                                            |    220 +-
 external/public-domain/xz/dist/po/de.gmo                                           |    Bin 
 external/public-domain/xz/dist/po/de.po                                            |    431 +-
 external/public-domain/xz/dist/po/fr.gmo                                           |    Bin 
 external/public-domain/xz/dist/po/fr.po                                            |    220 +-
 external/public-domain/xz/dist/po/it.gmo                                           |    Bin 
 external/public-domain/xz/dist/po/it.po                                            |    220 +-
 external/public-domain/xz/dist/po/pl.gmo                                           |    Bin 
 external/public-domain/xz/dist/po/pl.po                                            |    220 +-
 external/public-domain/xz/dist/po/vi.gmo                                           |    Bin 
 external/public-domain/xz/dist/po/vi.po                                            |    220 +-
 external/public-domain/xz/dist/src/common/common_w32res.rc                         |      2 +-
 external/public-domain/xz/dist/src/common/tuklib_cpucores.c                        |      9 +
 external/public-domain/xz/dist/src/common/tuklib_integer.h                         |     11 +
 external/public-domain/xz/dist/src/common/tuklib_physmem.c                         |     17 +-
 external/public-domain/xz/dist/src/liblzma/api/lzma.h                              |     24 +-
 external/public-domain/xz/dist/src/liblzma/api/lzma/base.h                         |      7 +-
 external/public-domain/xz/dist/src/liblzma/api/lzma/container.h                    |     21 +-
 external/public-domain/xz/dist/src/liblzma/api/lzma/index.h                        |     18 +-
 external/public-domain/xz/dist/src/liblzma/api/lzma/version.h                      |      2 +-
 external/public-domain/xz/dist/src/liblzma/common/alone_decoder.c                  |     45 +-
 external/public-domain/xz/dist/src/liblzma/common/alone_encoder.c                  |     34 +-
 external/public-domain/xz/dist/src/liblzma/common/auto_decoder.c                   |     41 +-
 external/public-domain/xz/dist/src/liblzma/common/block_decoder.c                  |     41 +-
 external/public-domain/xz/dist/src/liblzma/common/block_encoder.c                  |     40 +-
 external/public-domain/xz/dist/src/liblzma/common/common.c                         |      6 +-
 external/public-domain/xz/dist/src/liblzma/common/common.h                         |     18 +-
 external/public-domain/xz/dist/src/liblzma/common/index.c                          |     36 +-
 external/public-domain/xz/dist/src/liblzma/common/index_decoder.c                  |     37 +-
 external/public-domain/xz/dist/src/liblzma/common/index_encoder.c                  |     16 +-
 external/public-domain/xz/dist/src/liblzma/common/stream_decoder.c                 |     53 +-
 external/public-domain/xz/dist/src/liblzma/common/stream_encoder.c                 |     56 +-
 external/public-domain/xz/dist/src/liblzma/common/stream_encoder_mt.c              |    124 +-
 external/public-domain/xz/dist/src/liblzma/delta/delta_common.c                    |     25 +-
 external/public-domain/xz/dist/src/liblzma/delta/delta_decoder.c                   |      6 +-
 external/public-domain/xz/dist/src/liblzma/delta/delta_encoder.c                   |     12 +-
 external/public-domain/xz/dist/src/liblzma/delta/delta_private.h                   |      4 +-
 external/public-domain/xz/dist/src/liblzma/lz/lz_decoder.c                         |     60 +-
 external/public-domain/xz/dist/src/liblzma/lz/lz_decoder.h                         |     13 +-
 external/public-domain/xz/dist/src/liblzma/lz/lz_encoder.c                         |     59 +-
 external/public-domain/xz/dist/src/liblzma/lz/lz_encoder.h                         |      9 +-
 external/public-domain/xz/dist/src/liblzma/lzma/lzma2_decoder.c                    |     32 +-
 external/public-domain/xz/dist/src/liblzma/lzma/lzma2_encoder.c                    |     51 +-
 external/public-domain/xz/dist/src/liblzma/lzma/lzma_decoder.c                     |     33 +-
 external/public-domain/xz/dist/src/liblzma/lzma/lzma_encoder.c                     |     31 +-
 external/public-domain/xz/dist/src/liblzma/lzma/lzma_encoder.h                     |      9 +-
 external/public-domain/xz/dist/src/liblzma/lzma/lzma_encoder_optimum_fast.c        |      3 +-
 external/public-domain/xz/dist/src/liblzma/lzma/lzma_encoder_optimum_normal.c      |     23 +-
 external/public-domain/xz/dist/src/liblzma/lzma/lzma_encoder_presets.c             |      1 +
 external/public-domain/xz/dist/src/liblzma/lzma/lzma_encoder_private.h             |      6 +-
 external/public-domain/xz/dist/src/liblzma/rangecoder/range_common.h               |      4 +-
 external/public-domain/xz/dist/src/liblzma/simple/arm.c                            |      2 +-
 external/public-domain/xz/dist/src/liblzma/simple/armthumb.c                       |      2 +-
 external/public-domain/xz/dist/src/liblzma/simple/ia64.c                           |      2 +-
 external/public-domain/xz/dist/src/liblzma/simple/powerpc.c                        |      2 +-
 external/public-domain/xz/dist/src/liblzma/simple/simple_coder.c                   |     59 +-
 external/public-domain/xz/dist/src/liblzma/simple/simple_private.h                 |     12 +-
 external/public-domain/xz/dist/src/liblzma/simple/sparc.c                          |      2 +-
 external/public-domain/xz/dist/src/liblzma/simple/x86.c                            |     15 +-
 external/public-domain/xz/dist/src/xz/args.h                                       |      2 +-
 external/public-domain/xz/dist/src/xz/coder.c                                      |     33 +-
 external/public-domain/xz/dist/src/xz/file_io.c                                    |    159 +-
 external/public-domain/xz/dist/src/xz/file_io.h                                    |      6 +
 external/public-domain/xz/dist/src/xz/list.c                                       |     10 +-
 external/public-domain/xz/dist/src/xz/main.c                                       |     29 +-
 external/public-domain/xz/dist/src/xz/message.c                                    |      5 +-
 external/public-domain/xz/dist/src/xz/options.c                                    |     12 +-
 external/public-domain/xz/dist/src/xz/private.h                                    |      9 +-
 external/public-domain/xz/dist/src/xz/xz.1                                         |     14 +-
 external/public-domain/xz/dist/src/xzdec/xzdec.1                                   |      4 +-
 external/public-domain/xz/dist/tests/compress_prepared_bcj_sparc.base64            |     54 +-
 external/public-domain/xz/dist/tests/compress_prepared_bcj_x86.base64              |     60 +-
 external/public-domain/xz/dist/tests/files/bad-0cat-alone.xz.base64                |      4 +-
 external/public-domain/xz/dist/tests/files/bad-0cat-header_magic.xz.base64         |      4 +-
 external/public-domain/xz/dist/tests/files/bad-0catpad-empty.xz.base64             |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-block_header-1.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-block_header-2.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-block_header-3.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-block_header-4.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-block_header-5.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-block_header-6.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-check-crc32.xz.base64             |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-check-crc64.xz.base64             |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-check-sha256.xz.base64            |      5 +-
 external/public-domain/xz/dist/tests/files/bad-1-lzma2-1.xz.base64                 |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-lzma2-2.xz.base64                 |     19 +-
 external/public-domain/xz/dist/tests/files/bad-1-lzma2-3.xz.base64                 |     19 +-
 external/public-domain/xz/dist/tests/files/bad-1-lzma2-4.xz.base64                 |     19 +-
 external/public-domain/xz/dist/tests/files/bad-1-lzma2-5.xz.base64                 |     19 +-
 external/public-domain/xz/dist/tests/files/bad-1-lzma2-6.xz.base64                 |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-lzma2-7.xz.base64                 |     19 +-
 external/public-domain/xz/dist/tests/files/bad-1-lzma2-8.xz.base64                 |     21 +-
 external/public-domain/xz/dist/tests/files/bad-1-stream_flags-1.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-stream_flags-2.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-stream_flags-3.xz.base64          |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-vli-1.xz.base64                   |      4 +-
 external/public-domain/xz/dist/tests/files/bad-1-vli-2.xz.base64                   |      4 +-
 external/public-domain/xz/dist/tests/files/bad-2-compressed_data_padding.xz.base64 |      5 +-
 external/public-domain/xz/dist/tests/files/bad-2-index-1.xz.base64                 |      5 +-
 external/public-domain/xz/dist/tests/files/bad-2-index-2.xz.base64                 |      5 +-
 external/public-domain/xz/dist/tests/files/bad-2-index-3.xz.base64                 |      5 +-
 external/public-domain/xz/dist/tests/files/bad-2-index-4.xz.base64                 |      5 +-
 external/public-domain/xz/dist/tests/files/bad-2-index-5.xz.base64                 |      5 +-
 external/public-domain/xz/dist/tests/files/good-0cat-empty.xz.base64               |      4 +-
 external/public-domain/xz/dist/tests/files/good-0catpad-empty.xz.base64            |      4 +-
 external/public-domain/xz/dist/tests/files/good-1-3delta-lzma2.xz.base64           |     23 +-
 external/public-domain/xz/dist/tests/files/good-1-block_header-1.xz.base64         |      4 +-
 external/public-domain/xz/dist/tests/files/good-1-block_header-2.xz.base64         |      4 +-
 external/public-domain/xz/dist/tests/files/good-1-block_header-3.xz.base64         |      4 +-
 external/public-domain/xz/dist/tests/files/good-1-check-crc32.xz.base64            |      4 +-
 external/public-domain/xz/dist/tests/files/good-1-check-crc64.xz.base64            |      4 +-
 external/public-domain/xz/dist/tests/files/good-1-check-none.xz.base64             |      4 +-
 external/public-domain/xz/dist/tests/files/good-1-check-sha256.xz.base64           |      5 +-
 external/public-domain/xz/dist/tests/files/good-1-delta-lzma2.tiff.xz.base64       |   2211 +-
 external/public-domain/xz/dist/tests/files/good-1-lzma2-1.xz.base64                |     19 +-
 external/public-domain/xz/dist/tests/files/good-1-lzma2-2.xz.base64                |     19 +-
 external/public-domain/xz/dist/tests/files/good-1-lzma2-3.xz.base64                |     19 +-
 external/public-domain/xz/dist/tests/files/good-1-lzma2-4.xz.base64                |     21 +-
 external/public-domain/xz/dist/tests/files/good-1-lzma2-5.xz.base64                |      4 +-
 external/public-domain/xz/dist/tests/files/good-1-sparc-lzma2.xz.base64            |     27 +-
 external/public-domain/xz/dist/tests/files/good-1-x86-lzma2.xz.base64              |     31 +-
 external/public-domain/xz/dist/tests/files/good-2-lzma2.xz.base64                  |      5 +-
 external/public-domain/xz/dist/tests/files/unsupported-block_header.xz.base64      |      4 +-
 external/public-domain/xz/dist/tests/files/unsupported-check.xz.base64             |      4 +-
 external/public-domain/xz/dist/tests/files/unsupported-filter_flags-1.xz.base64    |      4 +-
 external/public-domain/xz/dist/tests/files/unsupported-filter_flags-2.xz.base64    |      4 +-
 external/public-domain/xz/dist/tests/files/unsupported-filter_flags-3.xz.base64    |      4 +-
 external/public-domain/xz/dist/tests/test_bcj_exact_size.c                         |      1 +
 external/public-domain/xz/dist/tests/test_index.c                                  |     30 +
 152 files changed, 44359 insertions(+), 12805 deletions(-)

diffs (truncated from 63423 to 300 lines):

diff -r 85c37acb30c6 -r dae2cad871cd external/public-domain/xz/dist/COPYING
--- a/external/public-domain/xz/dist/COPYING    Mon Sep 24 22:22:16 2018 +0000
+++ b/external/public-domain/xz/dist/COPYING    Mon Sep 24 22:36:01 2018 +0000
@@ -47,7 +47,7 @@
     naturally it is not legally required. Here is an example of a good
     notice to put into "about box" or into documentation:
 
-        This software includes code from XZ Utils <http://tukaani.org/xz/>.
+        This software includes code from XZ Utils <https://tukaani.org/xz/>.
 
     The following license texts are included in the following files:
       - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
diff -r 85c37acb30c6 -r dae2cad871cd external/public-domain/xz/dist/ChangeLog
--- a/external/public-domain/xz/dist/ChangeLog  Mon Sep 24 22:22:16 2018 +0000
+++ b/external/public-domain/xz/dist/ChangeLog  Mon Sep 24 22:36:01 2018 +0000
@@ -1,3 +1,1153 @@
+commit b5be61cc06088bb07f488f9baf7d447ff47b37c1
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2018-04-29 19:00:06 +0300
+
+    Bump version and soname for 5.2.4.
+
+ src/liblzma/Makefile.am        | 2 +-
+ src/liblzma/api/lzma/version.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+commit c47fa6d06745bb2e99866e76b81ac7a9c5a8bfec
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2018-04-29 18:48:00 +0300
+
+    extra/scanlzma: Fix compiler warnings.
+
+ extra/scanlzma/scanlzma.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+commit 7b350fe21aa4fd6495a3b6188a40e3f1ae7c0edf
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2018-04-29 18:15:37 +0300
+
+    Add NEWS for 5.2.4.
+
+ NEWS | 27 +++++++++++++++++++++++++++
+ 1 file changed, 27 insertions(+)
+
+commit 5801591162a280aa52d156dfde42c531ec7fd8b6
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2018-02-06 19:36:30 +0200
+
+    Update THANKS.
+
+ THANKS | 2 ++
+ 1 file changed, 2 insertions(+)
+
+commit c4a616f4536146f8906e1b4412eefeec07b28fae
+Author: Ben Boeckel <mathstuf%gmail.com@localhost>
+Date:   2018-01-29 13:58:18 -0500
+
+    nothrow: use noexcept for C++11 and newer
+    
+    In C++11, the `throw()` specifier is deprecated and `noexcept` is
+    preffered instead.
+
+ src/liblzma/api/lzma.h | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+commit 0b8947782ff3c5ef830a7f85412e44dcf3cdeb77
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2018-02-06 18:02:48 +0200
+
+    liblzma: Remove incorrect #ifdef from range_common.h.
+    
+    In most cases it was harmless but it could affect some
+    custom build systems.
+    
+    Thanks to Pippijn van Steenhoven.
+
+ src/liblzma/rangecoder/range_common.h | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+commit 48f3b9f73ffea7f55d5678997aba0e79d2e82168
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2018-01-10 22:10:39 +0200
+
+    Update THANKS.
+
+ THANKS | 1 +
+ 1 file changed, 1 insertion(+)
+
+commit a3ce3e902342be37c626a561ce3d9ffcf27d0f94
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2018-01-10 21:54:27 +0200
+
+    tuklib_integer: New Intel C compiler needs immintrin.h.
+    
+    Thanks to Melanie Blower (Intel) for the patch.
+
+ src/common/tuklib_integer.h | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+commit 4505ca483985f88c6923c05a43b4327feaab83b1
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-09-24 20:04:24 +0300
+
+    Update THANKS.
+
+ THANKS | 1 +
+ 1 file changed, 1 insertion(+)
+
+commit 1ef3cc226e3ce173575c218238b71a4eecabc470
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-09-16 20:36:20 +0300
+
+    Windows: Fix paths in VS project files.
+    
+    Some paths use slashes instead of backslashes as directory
+    separators... now it should work (I tested VS2013 version).
+
+ windows/vs2013/liblzma.vcxproj     | 12 ++++++------
+ windows/vs2013/liblzma_dll.vcxproj | 24 ++++++++++++------------
+ windows/vs2017/liblzma.vcxproj     | 12 ++++++------
+ windows/vs2017/liblzma_dll.vcxproj | 24 ++++++++++++------------
+ 4 files changed, 36 insertions(+), 36 deletions(-)
+
+commit e775d2a8189d24f60470e6e49d8af881df3a1680
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-09-16 12:54:23 +0300
+
+    Windows: Add project files for VS2017.
+    
+    These files match the v5.2 branch (no file info decoder).
+
+ windows/vs2017/config.h            | 148 ++++++++++++++
+ windows/vs2017/liblzma.vcxproj     | 355 ++++++++++++++++++++++++++++++++++
+ windows/vs2017/liblzma_dll.vcxproj | 384 +++++++++++++++++++++++++++++++++++++
+ windows/vs2017/xz_win.sln          |  48 +++++
+ 4 files changed, 935 insertions(+)
+
+commit 10e02e0fbb6e2173f8b41f6e39b7b570f47dd74d
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-09-16 12:39:43 +0300
+
+    Windows: Move VS2013 files into windows/vs2013 directory.
+
+ windows/{ => vs2013}/config.h            |   0
+ windows/{ => vs2013}/liblzma.vcxproj     | 278 +++++++++++++++---------------
+ windows/{ => vs2013}/liblzma_dll.vcxproj | 280 +++++++++++++++----------------
+ windows/{ => vs2013}/xz_win.sln          |   0
+ 4 files changed, 279 insertions(+), 279 deletions(-)
+
+commit 06eebd4543196ded36fa9b8b9544195b38b24ef2
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-08-14 20:08:33 +0300
+
+    Fix or hide warnings from GCC 7's -Wimplicit-fallthrough.
+
+ src/liblzma/lzma/lzma_decoder.c | 6 ++++++
+ src/xz/list.c                   | 2 ++
+ 2 files changed, 8 insertions(+)
+
+commit ea4ea1dffafebaa8b2770bf3eca46900e4dd22dc
+Author: Alexey Tourbin <alexey.tourbin%gmail.com@localhost>
+Date:   2017-05-16 23:56:35 +0300
+
+    Docs: Fix a typo in a comment in doc/examples/02_decompress.c.
+
+ doc/examples/02_decompress.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit eb2ef4c79bf405ea0d215f3b1df3d0eaf5e1d27b
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-05-23 18:34:43 +0300
+
+    xz: Fix "xz --list --robot missing_or_bad_file.xz".
+    
+    It ended up printing an uninitialized char-array when trying to
+    print the check names (column 7) on the "totals" line.
+    
+    This also changes the column 12 (minimum xz version) to
+    50000002 (xz 5.0.0) instead of 0 when there are no valid
+    input files.
+    
+    Thanks to kidmin for the bug report.
+
+ src/xz/list.c | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+commit 3ea5dbd9b0d79048e336e40cef3b6d814fb74e13
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-04-24 19:48:47 +0300
+
+    Build: Omit pre-5.0.0 entries from the generated ChangeLog.
+    
+    It makes ChangeLog significantly smaller.
+
+ Makefile.am | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+commit bae24675936df99064de1502593c006bd902594b
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-04-24 19:30:22 +0300
+
+    Update the Git repository URL to HTTPS in ChangeLog.
+
+ ChangeLog | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 70f479211973b5361f4d7cb08ba5be69b4266e7a
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-04-19 22:17:35 +0300
+
+    Update the home page URLs to HTTPS.
+
+ COPYING                     | 2 +-
+ README                      | 2 +-
+ configure.ac                | 2 +-
+ doc/faq.txt                 | 4 ++--
+ dos/config.h                | 2 +-
+ src/common/common_w32res.rc | 2 +-
+ src/xz/xz.1                 | 6 +++---
+ src/xzdec/xzdec.1           | 4 ++--
+ windows/README-Windows.txt  | 2 +-
+ windows/config.h            | 2 +-
+ 10 files changed, 14 insertions(+), 14 deletions(-)
+
+commit 2a4b2fa75d06a097261a02ecd3cf2b6d449bf754
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-03-30 22:01:54 +0300
+
+    xz: Use POSIX_FADV_RANDOM for in "xz --list" mode.
+    
+    xz --list is random access so POSIX_FADV_SEQUENTIAL was clearly
+    wrong.
+
+ src/xz/file_io.c | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+commit eb25743ade39170cffd9566a1aae272098cce216
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-03-30 19:47:45 +0300
+
+    liblzma: Fix lzma_memlimit_set(strm, 0).
+    
+    The 0 got treated specially in a buggy way and as a result
+    the function did nothing. The API doc said that 0 was supposed
+    to return LZMA_PROG_ERROR but it didn't.
+    
+    Now 0 is treated as if 1 had been specified. This is done because
+    0 is already used to indicate an error from lzma_memlimit_get()
+    and lzma_memusage().
+    
+    In addition, lzma_memlimit_set() no longer checks that the new
+    limit is at least LZMA_MEMUSAGE_BASE. It's counter-productive
+    for the Index decoder and was actually needed only by the
+    auto decoder. Auto decoder has now been modified to check for
+    LZMA_MEMUSAGE_BASE.
+
+ src/liblzma/api/lzma/base.h       | 7 ++++++-
+ src/liblzma/common/auto_decoder.c | 3 +++
+ src/liblzma/common/common.c       | 6 ++++--
+ 3 files changed, 13 insertions(+), 3 deletions(-)
+
+commit ef36c6362f3f3853f21b8a6359bcd06576ebf207
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-03-30 19:16:55 +0300
+
+    liblzma: Similar memlimit fix for stream_, alone_, and auto_decoder.
+
+ src/liblzma/api/lzma/container.h    | 21 +++++++++++++++++----
+ src/liblzma/common/alone_decoder.c  |  5 +----
+ src/liblzma/common/auto_decoder.c   |  5 +----
+ src/liblzma/common/stream_decoder.c |  5 +----
+ 4 files changed, 20 insertions(+), 16 deletions(-)
+
+commit 57616032650f03840480b696d7878acdd2065521
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2017-03-30 18:58:18 +0300
+
+    liblzma: Fix handling of memlimit == 0 in lzma_index_decoder().
+    
+    It returned LZMA_PROG_ERROR, which was done to avoid zero as
+    the limit (because it's a special value elsewhere), but using
+    LZMA_PROG_ERROR is simply inconvenient and can cause bugs.
+    
+    The fix/workaround is to treat 0 as if it were 1 byte. It's
+    effectively the same thing. The only weird consequence is
+    that then lzma_memlimit_get() will return 1 even when 0 was
+    specified as the limit.
+    
+    This fixes a very rare corner case in xz --list where a specific
+    memory usage limit and a multi-stream file could print the
+    error message "Internal error (bug)" instead of saying that
+    the memory usage limit is too low.
+
+ src/liblzma/api/lzma/index.h       | 18 +++++++++++-------
+ src/liblzma/common/index_decoder.c |  4 ++--
+ 2 files changed, 13 insertions(+), 9 deletions(-)
+
+commit 3d566cd519017eee1a400e7961ff14058dfaf33c
+Author: Lasse Collin <lasse.collin%tukaani.org@localhost>
+Date:   2016-12-30 13:26:36 +0200



Home | Main Index | Thread Index | Old Index