Support decompressing pigz-compressed files Patch from master branch https://bugs.gentoo.org/911539 https://debbugs.gnu.org/64893 commit 46b6d175054e8f6bf7cb45e112048c0cf02bfee9 Author: Amritpal Singh 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);