blob: b31847a4a00b43ad82bd2df587061f6206629e74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Support decompressing pigz-compressed files
Patch from master branch
https://bugs.gentoo.org/911539
https://debbugs.gnu.org/64893
commit 46b6d175054e8f6bf7cb45e112048c0cf02bfee9
Author: Amritpal Singh <sysgrammer@protonmail.com>
Date: Fri Jun 2 10:51:21 2023 +0530
Support files compressed by 'pigz'
--- a/src/decompress.c
+++ b/src/decompress.c
@@ -151,7 +151,7 @@
return -1;
accumulate_and_process_md5 (out, MD5_BLOCKSIZE - stream.avail_out, &ctx);
- } while (!stream.avail_out);
+ } while (stream.avail_in && !stream.avail_out);
} while (res != Z_STREAM_END);
|