From unknown Sun Jun 15 01:05:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#77641 <77641@debbugs.gnu.org> To: bug#77641 <77641@debbugs.gnu.org> Subject: Status: [platform-testers] new snapshot available: gzip-1.13.56-e549 Reply-To: bug#77641 <77641@debbugs.gnu.org> Date: Sun, 15 Jun 2025 08:05:03 +0000 retitle 77641 [platform-testers] new snapshot available: gzip-1.13.56-e549 reassign 77641 gzip submitter 77641 "Nelson H. F. Beebe" severity 77641 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 08 09:12:52 2025 Received: (at submit) by debbugs.gnu.org; 8 Apr 2025 13:12:52 +0000 Received: from localhost ([127.0.0.1]:59925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u28l1-0006HF-KO for submit@debbugs.gnu.org; Tue, 08 Apr 2025 09:12:52 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33774) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u28kz-0006GU-Ha for submit@debbugs.gnu.org; Tue, 08 Apr 2025 09:12:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u28ki-0003sZ-R6; Tue, 08 Apr 2025 09:12:35 -0400 Received: from ipo8.cc.utah.edu ([155.97.144.47]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u28ke-00076f-SG; Tue, 08 Apr 2025 09:12:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utah.edu; i=@utah.edu; q=dns/txt; s=UniversityOfUtah; t=1744117949; x=1775653949; h=date:from:to:cc:subject:in-reply-to:message-id; bh=IeUkFyXTrUEHtmLuH7fMPepCCEh09svYjMw2eg7/Ths=; b=TT9+Rgdp0B/5pxkfZG8hxPuc8XA+JOZjttLdILrhRN9iuNp5zSrRnmpp jZlceK1HC7VNmG2i6BCiXmC1UZQANWkveI8RmUkM2PoiluFUvMvp1+UYM oOcyEfJBQyHYZRApLJJ600rcZ2UaBRPD5aSm/Sebmzm5BjKRbFOXoIB4J SUr4cUyS5XLxlyJZta/UVDGCQUdeANr81j3Nxggs8eSaYOI/A0Ev+Goux IHGmSQUWRADVugtkitdy/YOkd4E5tBS1TBqRM77clQxj8NCenkStwNq/Q Pxz2LKQxwPbpgj17KnSTKCxQbfvuht0v6ot+KY8OGAqJV821NAgw/9AAJ Q==; X-CSE-ConnectionGUID: 6Tlyr4U9Tf6XQaZpjU7nkA== X-CSE-MsgGUID: o6Q5NQcIRtavpXBr3aTYPA== X-IronPort-AV: E=Sophos;i="6.15,198,1739862000"; d="scan'208";a="61809045" Received: from mail.math.utah.edu ([155.101.98.135]) by ipo8.smtp.cc.utah.edu with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2025 07:12:24 -0600 Received: from gamma.math.utah.edu (gamma.math.utah.edu [155.101.96.20]) by mail.math.utah.edu (8.16.1/8.16.1) with ESMTP id 538DCNGi002554; Tue, 8 Apr 2025 07:12:23 -0600 (MDT) Received: from gamma.math.utah.edu (localhost [127.0.0.1]) by gamma.math.utah.edu (8.15.1/8.15.1) with ESMTP id 538DCNa9014790; Tue, 8 Apr 2025 07:12:23 -0600 Received: (from beebe@localhost) by gamma.math.utah.edu (8.15.1/8.15.1/Submit) id 538DCNeP014788; Tue, 8 Apr 2025 07:12:23 -0600 Date: Tue, 8 Apr 2025 07:12:23 -0600 From: "Nelson H. F. Beebe" To: Jim Meyering X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-URL: https://www.math.utah.edu/~beebe Subject: Re: [platform-testers] new snapshot available: gzip-1.13.56-e549 In-Reply-To: Message-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Tue, 08 Apr 2025 07:12:23 -0600 (MDT) Received-SPF: pass client-ip=155.97.144.47; envelope-from=beebe@math.utah.edu; helo=ipo8.cc.utah.edu X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: platform-testers@gnu.org, "Nelson H. F. Beebe" , bug-gzip@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Yesterday, I reported that the zdiff test for gzip-1.13.56-e549 failed on NetBSD 10.0. Here is the tests/zdiff.log file: + initial_cwd_=/local/build/cc/gzip-1.13.56-e549/tests + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /local/build/cc/gzip-1.13.56-e549/tests gt-zdiff.XXXX + destdir_=/local/build/cc/gzip-1.13.56-e549/tests + template_=gt-zdiff.XXXX + MAX_TRIES_=4 + destdir_slash_=/local/build/cc/gzip-1.13.56-e549/tests/ + unset TMPDIR + using redirections: 2>/dev/null do { + d=/local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid + ':' + test -d /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid + ls -dgo /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid 2>/dev/null + perms='drwx------ 2 512 Apr 7 07:59 /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid' + ':' + echo /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid + return + test_dir_=/local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid + cd /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid + srcdir=../. + builddir=.. + export srcdir builddir + gl_init_sh_nl_=' ' + IFS=' ' + for sig_=1 + expr 1 + 128 + eval "trap 'Exit 129' 1" + trap 'Exit 129' 1 + for sig_=2 + expr 2 + 128 + eval "trap 'Exit 130' 2" + trap 'Exit 130' 2 + for sig_=3 + expr 3 + 128 + eval "trap 'Exit 131' 3" + trap 'Exit 131' 3 + for sig_=13 + expr 13 + 128 + eval "trap 'Exit 141' 13" + trap 'Exit 141' 13 + for sig_=15 + expr 15 + 128 + eval "trap 'Exit 143' 15" + trap 'Exit 143' 15 + saved_IFS=' ' + IFS=':' + new_PATH='' + for dir=/local/build/cc/gzip-1.13.56-e549 + IFS=' ' + test -d /local/build/cc/gzip-1.13.56-e549/. + new_PATH=/local/build/cc/gzip-1.13.56-e549 + for dir=/usr/uumath/bin + IFS=' ' + test -d /usr/uumath/bin/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin' + for dir=/usr/uumath/share/bin + IFS=' ' + test -d /usr/uumath/share/bin/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin' + for dir=/usr/X11R7/bin + IFS=' ' + test -d /usr/X11R7/bin/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin' + for dir=/usr/sbin + IFS=' ' + test -d /usr/sbin/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin' + for dir=/usr/bin + IFS=' ' + test -d /usr/bin/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin' + for dir=/bin + IFS=' ' + test -d /bin/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin' + for dir=/sbin + IFS=' ' + test -d /sbin/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin' + for dir=/etc + IFS=' ' + test -d /etc/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc' + for dir=. + IFS=' ' + for dir=/u/sy/beebe/tex/bib + IFS=' ' + test -d /u/sy/beebe/tex/bib/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc:/u/sy/beebe/tex/bib' + for dir=/usr/pkg/bin + IFS=' ' + test -d /usr/pkg/bin/. + new_PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc:/u/sy/beebe/tex/bib:/usr/pkg/bin' + IFS=' ' + PATH='/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc:/u/sy/beebe/tex/bib:/usr/pkg/bin' + export PATH + trap remove_tmp_ EXIT + path_prepend_ .. + test 1 '!=' 0 + path_dir_=.. + abs_path_dir_=/local/build/cc/gzip-1.13.56-e549/tests/.. + PATH='/local/build/cc/gzip-1.13.56-e549/tests/..:/local/build/cc/gzip-1.13.56-e549:/usr/uumath/bin:/usr/uumath/share/bin:/usr/X11R7/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc:/u/sy/beebe/tex/bib:/usr/pkg/bin' + create_exe_shims_ /local/build/cc/gzip-1.13.56-e549/tests/.. + return 0 + shift + test 0 '!=' 0 + export PATH + echo a >a + echo b >b + cat <<... >exp + diff a b + diff exp - + fail=0 + gzip a b + returns_ 1 zdiff a.gz b.gz >out 2>err + fail=1 + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + compare_ exp out + LC_ALL=C diff -u exp out --- exp 2025-04-07 07:59:47.788335422 -0600 +++ out 2025-04-07 07:59:47.792397950 -0600 @@ -1,4 +0,0 @@ -1c1 -< a ---- -> b + fail=1 + grep -v '^+' err + rm -f out + zdiff a.gz a.gz >out 2>err + test -s out + test -s err + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + ':' + test '' = yes + cd /local/build/cc/gzip-1.13.56-e549/tests + chmod -R u+rwx /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid + rm -rf /local/build/cc/gzip-1.13.56-e549/tests/gt-zdiff.oSid + exit 1 FAIL zdiff (exit status: 1) ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: https://www.math.utah.edu/~beebe - ------------------------------------------------------------------------------- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 08 13:44:13 2025 Received: (at 77641) by debbugs.gnu.org; 8 Apr 2025 17:44:13 +0000 Received: from localhost ([127.0.0.1]:35320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2Czc-0006Vs-Qu for submit@debbugs.gnu.org; Tue, 08 Apr 2025 13:44:13 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:36362) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2Cza-0006Ux-2O for 77641@debbugs.gnu.org; Tue, 08 Apr 2025 13:44:10 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 534723C010858; Tue, 8 Apr 2025 10:44:03 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id wDh8uCqLCkh2; Tue, 8 Apr 2025 10:44:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id CDFB53C01085F; Tue, 8 Apr 2025 10:44:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu CDFB53C01085F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1744134242; bh=c3jXlSnOYk35zIFIxYmLCPf3yzusOW1/JnvEe+h+e4U=; h=Message-ID:Date:MIME-Version:To:From; b=RirtYclKXMWND9j2nJFeqgJxX4lbVycbifaF5R3nBPfaOxIMSrS1kGKjPt24iqgoq 3fnl1HIB6KUEyxAr2+Mu9KdLP6wDVQUUEzPvAVWYwWfxw98J/Yq2nzuU7Kpm9y/O14 ictxgg3+Na64uQs4zTwQOY+jbMqmA0mA6EzB+mP5Hp2ahzslHOqkQIKVK1AQLEximf pDAghfwLhSK2vkiWd5OPJjaDdLSuoHzfq6/N5CDBzlYfYTGKIIf3J1Zzj4Gc1wbU+i qbkEfUS1QrvIJ91FNLOBxUEY2v5pplkBpgIkrMfUGVaG0CDCFeRk4xnECbWtgN/Ch1 Ie7Aycm/kX+NQ== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id xQFg_pcVriAn; Tue, 8 Apr 2025 10:44:02 -0700 (PDT) Received: from [192.168.254.12] (unknown [47.147.225.25]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id AC0E63C010858; Tue, 8 Apr 2025 10:44:02 -0700 (PDT) Message-ID: <103f40d1-3274-4e3c-8fd2-5359cb7e2437@cs.ucla.edu> Date: Tue, 8 Apr 2025 10:44:02 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#77641: [platform-testers] new snapshot available: gzip-1.13.56-e549 To: "Nelson H. F. Beebe" References: Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77641 Cc: platform-testers@gnu.org, 77641@debbugs.gnu.org, Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2025-04-08 06:12, Nelson H. F. Beebe wrote: > + returns_ 1 zdiff a.gz b.gz >out 2>err > + fail=1 To help debug that, could you please run the following commands in the gzip source directory and tell us the output? echo a>a echo b>b ./gzip a b /bin/bash -x ./zdiff a.gz b.gz I am assuming "zdiff" starts with "#!/bin/bash"; if it starts with something else please use that shell instead. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 08 16:59:53 2025 Received: (at 77641) by debbugs.gnu.org; 8 Apr 2025 20:59:53 +0000 Received: from localhost ([127.0.0.1]:35786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2G2y-0006Wb-QA for submit@debbugs.gnu.org; Tue, 08 Apr 2025 16:59:53 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:41760) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2G2t-0006WD-Nj for 77641@debbugs.gnu.org; Tue, 08 Apr 2025 16:59:48 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 5382D3C01085C; Tue, 8 Apr 2025 13:59:41 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id hqPXEH_DUqyG; Tue, 8 Apr 2025 13:59:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id E6E133C010861; Tue, 8 Apr 2025 13:59:40 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu E6E133C010861 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1744145980; bh=QjawZQhUHjebJ5l7xNq3T7gt1YsPyNKO/b2Jw1m2ZeY=; h=Message-ID:Date:MIME-Version:To:From; b=HCcenk8/k0aqW2OTAjTrTyYov7RfEhn1QRl22pG7SR/X4FYSH1mvTliD8ElDd8rzm z8FFb9zNwWqJOhEy1GzcZ71htaRGm2u9iIfBNGr0Jqjd3ugFJDXoD/UsdDTZxRGSfV tR2x4thmYhVijPOOqnjnh0zdYW9MeOd6GXoykssG/gceXdAAoBTMOeL8l7oY/A69dQ zaN6guRMthG4BlNYaehRHRO33HTPJK+D5Zz+KicxWYTbZ1GcKEaTkfhENRvd7VtUZO Ylu/mCAzZAZlX+cgwqKFFr/4Y7GpMeL/3KiSWK7Np+1mJHhgW6yXVAI0loadkmHhXN 32mJ8grXuWB0w== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id j72dYs0lvZug; Tue, 8 Apr 2025 13:59:40 -0700 (PDT) Received: from [192.168.254.12] (47-147-225-25.fdr01.snmn.ca.ip.frontiernet.net [47.147.225.25]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id C940A3C01085C; Tue, 8 Apr 2025 13:59:40 -0700 (PDT) Message-ID: Date: Tue, 8 Apr 2025 13:59:40 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#77641: [platform-testers] new snapshot available: gzip-1.13.56-e549 To: "Nelson H. F. Beebe" References: Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77641 Cc: 77641@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2025-04-08 11:25, Nelson H. F. Beebe wrote: > Here is the output on NetBSD 10.0 for the test script for zdiff > behavior: Thanks. I'm quoting it below. Apparently the equivalent of the following crashed: echo b >b gzip b gzip_status=$(gzip -cdfq -- b.gz) whereas the same thing succeeded if one substitutes "a" for "b". I suspect the problem isn't reproduced by the above commands, though, and don't know how to debug this further, remotely. > % cat ~/foo.sh > #! /bin/sh - > echo a>a > echo b>b > ./gzip a b > /usr/pkg/bin/bash -x ./zdiff a.gz b.gz > > % cd /local/build/cc/gzip-1.13.56-e549 > > % ~/foo.sh > + case $1 in > + prog=diff > + cmp='${DIFF-diff}' > + version='zdiff (gzip) 1.13.56-e549 > Copyright (C) 2025 Free Software Foundation, Inc. > This is free software. You may redistribute copies of it under the terms of > the GNU General Public License. > There is NO WARRANTY, to the extent permitted by law. > > Written by Jean-loup Gailly.' > + usage='Usage: ./zdiff [OPTION]... FILE1 [FILE2] > Compare FILE1 to FILE2, using their uncompressed contents if they are > compressed. If FILE2 is omitted, compare FILE1 to the uncompressed > contents of FILE1.gz. Do comparisons like '\''diff'\'' does. > > OPTIONs are the same as for '\''diff'\''. > > Report bugs to.' > + escape=' > s/'\''/'\''\\'\'''\''/g > $s/X$/'\''/ > ' > + filesonly= > + file1= > + file2= > + needop= > + for arg in "$@" > + case $filesonly$needop$arg in > + case $needop in > + case $arg in > + case $file1 in > + file1=a.gz > + for arg in "$@" > + case $filesonly$needop$arg in > + case $needop in > + case $arg in > + case $file1 in > + case $file2 in > + file2=b.gz > + case $needop in > + cmp='${DIFF-diff} --' > + case $file1 in > + case $file2 in > + gzip_status=0 > + exec > + case $file2 in > + case $file1,$file2 in > + case $file1 in > + case $file2 in > + echo X > + eval '${DIFF-diff} --' /dev/fd/5 - > + echo X > ++ exec > ++ gzip -cdfq -- a.gz > ++ eval '${DIFF-diff} --' /dev/fd/5 - > ++ gzip -cdfq -- b.gz > +++ diff -- /dev/fd/5 - > ++ echo 0 > ++ echo 141 > + gzip_status='0 > 141'