|
From: | Antonio Diaz Diaz |
Subject: | Re: [Zutils-bug] zcat: misses -t option |
Date: | Fri, 27 Jul 2018 09:50:34 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Daniel Baumann wrote:
On 07/26/2018 06:53 PM, Antonio Diaz Diaz wrote:The problem, IMO, is in the xcpio() function of unmkinitramfs. It should use 'gzip -t' instead of 'zcat -t', just as it already uses 'bzip2 -t' and 'lzop -t'. Think that posix zcat does not document a -t option[3] and therefore 'zcat -t' is not a portable way to check file integrity.indeed, thank you for your help. I've commented and reassigned the bug accordingly.
Thank you. I have sent a trivial patch to http://bugs.debian.org/903931 replacing also xzcat, as advised in the xz man page.
Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |