From unknown Sat Aug 16 20:01:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24826: [PATCH 1/2] gzip --no-name: avoid spurious warning Resent-From: Jim Meyering Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Sun, 30 Oct 2016 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24826 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: patch To: 24826@debbugs.gnu.org X-Debbugs-Original-To: bug-gzip@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147783933832543 (code B ref -1); Sun, 30 Oct 2016 14:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2016 14:55:38 +0000 Received: from localhost ([127.0.0.1]:37306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0rWL-0008Sp-RE for submit@debbugs.gnu.org; Sun, 30 Oct 2016 10:55:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0rWK-0008SO-VS for submit@debbugs.gnu.org; Sun, 30 Oct 2016 10:55:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0rW6-0006MU-KK for submit@debbugs.gnu.org; Sun, 30 Oct 2016 10:55:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c0rW6-0006MO-Gr for submit@debbugs.gnu.org; Sun, 30 Oct 2016 10:55:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0rW5-0001ha-1m for bug-gzip@gnu.org; Sun, 30 Oct 2016 10:55:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0rW4-0006Kd-1J for bug-gzip@gnu.org; Sun, 30 Oct 2016 10:55:21 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:34045) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c0rW3-0006JN-P5 for bug-gzip@gnu.org; Sun, 30 Oct 2016 10:55:19 -0400 Received: by mail-pf0-x243.google.com with SMTP id y68so476134pfb.1 for ; Sun, 30 Oct 2016 07:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version; bh=x7W9NnP41at3ZfWRUtP79Iw3IvrOKjtOw+DEf8BlgNQ=; b=L61VlJKVL7A9//jzmjkO8jY8ppvKZg5XIaQ4OUI6zui4VxskRACijOM6e+WFsXXHtH /x2FF74wxuKL3W7AxI5HHvZYfbgbOiFihsI38Mh63FG1KEbxHTY1zZANjM02ieb4WUWa oY9ymjqTHJPb8qu1E25ieONWCPeGANOWcbketaKULc+Mk7hvr30wB5/Jq2rjX2s/Vwa8 kBdCJg1BttocMaYRxzFbprMPRnByQCsEyOdHNxzqHNGUu34H81lAXEpr2kvHjkS6ps88 /STIXTP0JhnPWm6YHTh3npKBZ2MSLG391cM3LRf582ARcZcCnkxxRr6/U8TFvk0JPu9v FqHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=x7W9NnP41at3ZfWRUtP79Iw3IvrOKjtOw+DEf8BlgNQ=; b=IksoVjmeoiT7NZm7K6cBmY5raWBDtnZ7nryMC84FIv3/GmqV+aHd6WUfOyXBWcuFQB nbyEvUrxJTtv3XZIHrJCKB7rvr8tM5z2jLTyxnFHrTaAlnmNgzx+9nPY4U5RL4YudGXQ VzoBuSDhkZ0O4F5dT053Afb8Q0PYc7Mz2xDIkzhRcSj3Z9CzlRvFOnK1zZNDfEtuwJcA vlDK1aagJezgCmQiOtd7fbYvHcumegxE9cDCqkyhOX8yLsrW2WcebWxCq2w63j++YnX3 FUuWwGcbGbCMnSYYU5CsqKrQmTHyoqdoyg5tD+p2YPeNrMWXKRFeUlFtDcoW+JME2/xr k/RQ== X-Gm-Message-State: ABUngvdwA4tA4Q5Rn6s261uqA5V1lP18M27WnnCvrY+VuvIHChO194ar4K1A/tC4LgqSxQ== X-Received: by 10.98.201.207 with SMTP id l76mr41518762pfk.137.1477839318377; Sun, 30 Oct 2016 07:55:18 -0700 (PDT) Received: from jm.local ([2620:10d:c090:180::6319]) by smtp.gmail.com with ESMTPSA id 70sm30530371pfc.50.2016.10.30.07.55.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Oct 2016 07:55:16 -0700 (PDT) From: Jim Meyering Date: Sun, 30 Oct 2016 07:55:08 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) 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: -3.8 (---) The first one is a clear bug fix. For the second, since --no-time (-T) never worked (-m does), I could also just remove its entry from longopts. We've done without it for so long, there's little point to adding an undocumented --no-time, now. >From ed37ad2fe34cb37a1dc1687fb6c441e2ebd2e86b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 24 Oct 2016 10:10:04 -0700 Subject: [PATCH 1/2] gzip --no-name: avoid spurious warning I noticed that while attempting to create gzip's own gzip-compressed release tarball, gzip would emit this warning and exit with status 2: gzip: stdin: warning: file time stamp out of range for gzip format Here is a minimal reproducer: : | gzip --no-name > k * zip.c (zip): Skip validity check when no_time is set. * gzip.c (no_time): Make this variable global. * gzip.h (no_time): Declare it extern. * tests/timestamp: Add a test to exercise the fix. Introduced by commit v1.8-6-g51dee92 --- gzip.c | 2 +- gzip.h | 1 + tests/timestamp | 3 +++ zip.c | 4 +++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gzip.c b/gzip.c index 0fca5a3..f990fa2 100644 --- a/gzip.c +++ b/gzip.c @@ -173,7 +173,7 @@ static int decompress = 0; /* decompress (-d) */ static int force = 0; /* don't ask questions, compress links (-f) */ static int keep = 0; /* keep (don't delete) input files */ static int no_name = -1; /* don't save or restore the original file name */ -static int no_time = -1; /* don't save or restore the original file time */ + int no_time = -1; /* don't save or restore the original file time */ static int recursive = 0; /* recurse through directories (-r) */ static int list = 0; /* list the file contents (-l) */ int verbose = 0; /* be verbose (-v) */ diff --git a/gzip.h b/gzip.h index f298b47..4117306 100644 --- a/gzip.h +++ b/gzip.h @@ -199,6 +199,7 @@ typedef int file_t; /* Do not use stdio */ extern int exit_code; /* program exit code */ extern int verbose; /* be verbose (-v) */ +extern int no_time; /* --no-time (-T) */ extern int quiet; /* be quiet (-q) */ extern int level; /* compression level */ extern int test; /* check .z file integrity */ diff --git a/tests/timestamp b/tests/timestamp index 7acfe5d..141c1d4 100755 --- a/tests/timestamp +++ b/tests/timestamp @@ -49,4 +49,7 @@ touch -t 210602070628.15 in || { test $? = 2 || fail=1 } +# Ensure that --no-name does not provoke a time stamp warning. +: | gzip --no-name > k || fail=1 + Exit $fail diff --git a/zip.c b/zip.c index eb60409..cebd719 100644 --- a/zip.c +++ b/zip.c @@ -54,7 +54,9 @@ int zip(in, out) flags |= ORIG_NAME; } put_byte(flags); /* general flags */ - if (0 < time_stamp.tv_sec && time_stamp.tv_sec <= 0xffffffff) + if (no_time) + stamp = 0; + else if (0 < time_stamp.tv_sec && time_stamp.tv_sec <= 0xffffffff) stamp = time_stamp.tv_sec; else { -- 2.7.4 >From 6d0eabd745de16616beda963e0bee662a1664478 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 24 Oct 2016 09:58:22 -0700 Subject: [PATCH 2/2] gzip: accept --no-time option (undocumented, like -m) The undocumented -m option has been accepted since the beginning, but its associated --no-time option has never been accepted, due to the use of 'T' (not mentioned in shortopts) instead of 'm' in the definition of longopts. This made it so an attempt to use this long option would elicit only a bare "Try `gzip --help' for more information." * gzip.c (longopts): Specify 'm' with --no-time, not 'T'. --- gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gzip.c b/gzip.c index f990fa2..9e34c80 100644 --- a/gzip.c +++ b/gzip.c @@ -285,7 +285,7 @@ static const struct option longopts[] = {"recursive", 0, 0, 'r'}, /* recurse through directories */ {"suffix", 1, 0, 'S'}, /* use given suffix instead of .gz */ {"test", 0, 0, 't'}, /* test compressed file integrity */ - {"no-time", 0, 0, 'T'}, /* don't save or restore the time stamp */ + {"no-time", 0, 0, 'm'}, /* don't save or restore the time stamp */ {"verbose", 0, 0, 'v'}, /* verbose mode */ {"version", 0, 0, 'V'}, /* display version number */ {"fast", 0, 0, '1'}, /* compress faster */ -- 2.7.4 From unknown Sat Aug 16 20:01:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jim Meyering Subject: bug#24826: closed (Re: bug#24826: [PATCH 1/2] gzip --no-name: avoid spurious warning) Message-ID: References: X-Gnu-PR-Message: they-closed 24826 X-Gnu-PR-Package: gzip X-Gnu-PR-Keywords: patch Reply-To: 24826@debbugs.gnu.org Date: Sat, 05 Nov 2016 03:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1478317022-16392-1" This is a multi-part message in MIME format... ------------=_1478317022-16392-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24826: [PATCH 1/2] gzip --no-name: avoid spurious warning which was filed against the gzip package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 24826@debbugs.gnu.org. --=20 24826: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24826 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1478317022-16392-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24826-done) by debbugs.gnu.org; 5 Nov 2016 03:36:59 +0000 Received: from localhost ([127.0.0.1]:45296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2rms-0004G9-N5 for submit@debbugs.gnu.org; Fri, 04 Nov 2016 23:36:59 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2rmq-0004Fu-Kx for 24826-done@debbugs.gnu.org; Fri, 04 Nov 2016 23:36:57 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CA864160F6E; Fri, 4 Nov 2016 20:36:50 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id LVWArlqdTIue; Fri, 4 Nov 2016 20:36:49 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 894EA160F97; Fri, 4 Nov 2016 20:36:49 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kMVQbLBqNitQ; Fri, 4 Nov 2016 20:36:49 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.153.178.162]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 60D0C160F6E; Fri, 4 Nov 2016 20:36:49 -0700 (PDT) Subject: Re: bug#24826: [PATCH 1/2] gzip --no-name: avoid spurious warning To: Jim Meyering , 24826-done@debbugs.gnu.org References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Fri, 4 Nov 2016 20:36:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------615BB2D514228B3AA16910B9" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 24826-done 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: -2.3 (--) This is a multi-part message in MIME format. --------------615BB2D514228B3AA16910B9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Jim Meyering wrote: > The first one is a clear bug fix. Oops, my bad. Thanks for catching that. I installed a simpler fix (first=20 attached patch). > For the second, since --no-time (-T) never worked (-m does), > I could also just remove its entry from longopts. We've > done without it for so long, there's little point to adding > an undocumented --no-time, now. Thanks, I like that idea and installed the 2nd attached patch. In rereading the code I noticed other problems likely to bite after the y= ear=20 2038 (3rd attached patch, also installed). This stuff is a pain, as it wo= n't see=20 realistic testing for another 20 years or so and I don't see easy test ca= ses for=20 it, partly because GNU/Linux seems to mishandles these time stamps now on= my=20 platform (Fedora 24 x86-64; I'll try to file a bug report about this to F= edora). Boldly marking the bug as done. --------------615BB2D514228B3AA16910B9 Content-Type: text/x-diff; name="0001-gzip-no-name-avoid-spurious-warning.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-gzip-no-name-avoid-spurious-warning.patch" =46rom 0c6cff7709c47c5f8f113bebcd9dc3cf0b533a69 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 4 Nov 2016 20:15:42 -0700 Subject: [PATCH 1/3] gzip --no-name: avoid spurious warning Problem reported by Jim Meyering (Bug#24826). * tests/timestamp: Add a test from Jim Meyering to exercise the fix * zip.c (zip): Treat unknown time stamps as 0. --- tests/timestamp | 3 +++ zip.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/timestamp b/tests/timestamp index 7acfe5d..141c1d4 100755 --- a/tests/timestamp +++ b/tests/timestamp @@ -49,4 +49,7 @@ touch -t 210602070628.15 in || { test $? =3D 2 || fail=3D1 } =20 +# Ensure that --no-name does not provoke a time stamp warning. +: | gzip --no-name > k || fail=3D1 + Exit $fail diff --git a/zip.c b/zip.c index eb60409..a3b4559 100644 --- a/zip.c +++ b/zip.c @@ -54,7 +54,9 @@ int zip(in, out) flags |=3D ORIG_NAME; } put_byte(flags); /* general flags */ - if (0 < time_stamp.tv_sec && time_stamp.tv_sec <=3D 0xffffffff) + if (time_stamp.tv_nsec < 0) + stamp =3D 0; + else if (0 < time_stamp.tv_sec && time_stamp.tv_sec <=3D 0xffffffff)= stamp =3D time_stamp.tv_sec; else { --=20 2.7.4 --------------615BB2D514228B3AA16910B9 Content-Type: text/x-diff; name="0002-gzip-no-time-cleanup.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0002-gzip-no-time-cleanup.patch" =46rom 118f9562d367d1fd2a856ce4147cff0679f1e2a1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 4 Nov 2016 20:15:42 -0700 Subject: [PATCH 2/3] gzip: --no-time cleanup Problem reported by Jim Meyering (Bug#24826). * gzip.c (longopts): Remove non-working no-time entry. (help) [UNDOCUMENTED]: Don't document it. --- gzip.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gzip.c b/gzip.c index 0fca5a3..dccdb89 100644 --- a/gzip.c +++ b/gzip.c @@ -285,7 +285,6 @@ static const struct option longopts[] =3D {"recursive", 0, 0, 'r'}, /* recurse through directories */ {"suffix", 1, 0, 'S'}, /* use given suffix instead of .gz */ {"test", 0, 0, 't'}, /* test compressed file integrity */ - {"no-time", 0, 0, 'T'}, /* don't save or restore the time stamp *= / {"verbose", 0, 0, 'v'}, /* verbose mode */ {"version", 0, 0, 'V'}, /* display version number */ {"fast", 0, 0, '1'}, /* compress faster */ @@ -358,7 +357,7 @@ local void help() " -l, --list list compressed file contents", " -L, --license display software license", #ifdef UNDOCUMENTED - " -m, --no-time do not save or restore the original modification t= ime", + " -m do not save or restore the original modification t= ime", " -M, --time save or restore the original modification time", #endif " -n, --no-name do not save or restore the original name and time = stamp", @@ -1462,7 +1461,7 @@ discard_input_bytes (nbytes, flags) * original name was given and to_stdout is not set. * Return the compression method, -1 for error, -2 for warning. * Set inptr to the offset of the next byte to be processed. - * Updates time_stamp if there is one and --no-time is not used. + * Updates time_stamp if there is one and neither -m nor -n is used. * This function may be called repeatedly for an input file consisting * of several contiguous gzip'ed members. * IN assertions: there is at least one remaining compressed member. --=20 2.7.4 --------------615BB2D514228B3AA16910B9 Content-Type: text/x-diff; name="0003-gzip-minor-time-stamp-cleanups.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0003-gzip-minor-time-stamp-cleanups.patch" =46rom 223be714a9077de8f18e0344407bf5c13d49b2b1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 4 Nov 2016 20:15:42 -0700 Subject: [PATCH 3/3] gzip: minor time stamp cleanups * NEWS: Document this. * gzip.c (get_method): Do not warn about MTIME out of range. This should avoid useless chatter on hosts with 32-bit time_t after the year 2038 (!). (do_list): Do not pass junk time stamp to localtime. (copy_stat): Do not report "time stamp restored" if restoration fails. --- NEWS | 11 ++++++----- gzip.c | 40 +++++++++++++++++++++------------------- 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/NEWS b/NEWS index 6532550..8d0e100 100644 --- a/NEWS +++ b/NEWS @@ -4,11 +4,12 @@ GNU gzip NEWS -*- ou= tline -*- =20 ** Bug fixes =20 - gzip now warns about file time stamps out of gzip range, or out of - time_t range, instead of silently continuing, sometimes with - undefined behavior. This affects time stamps before 1970 or after - 2106, and time stamps after 2038 on 32-bit platforms. - [bug present since the beginning] + When converting time stamps to gzip file format (32-bit unsigned) or + to time_t format (system-dependent), gzip now ignores out-of-range + values instead of shoehorning them into the destination format, + sometimes with undefined behavior. This affects time stamps before + 1970 and after 2106, and time stamps after 2038 on platforms with + 32-bit signed time_t. [bug present since the beginning] =20 Support for VMS and Amiga has been removed. It was not working anyway= , and it reportedly caused file name glitches on MS-Windowsish platforms= =2E diff --git a/gzip.c b/gzip.c index dccdb89..17f5709 100644 --- a/gzip.c +++ b/gzip.c @@ -189,12 +189,17 @@ static int foreground =3D 0; /* set if program ru= n in foreground */ int save_orig_name; /* set if original name must be saved */ static int last_member; /* set for .zip and .Z files */ static int part_nb; /* number of parts in .gz file */ - struct timespec time_stamp; /* original time stamp (modification = time) */ off_t ifile_size; /* input file size, -1 for devices (debug = only) */ static char *env; /* contents of GZIP env variable */ static char const *z_suffix; /* default suffix (can be set with --suffix= ) */ static size_t z_len; /* strlen(z_suffix) */ =20 +/* The original time stamp (modification time). Its tv_nsec component + is negative if the original time is unknown or is out of time_t + range; the latter can happen on hosts with 32-bit signed time_t + because the gzip format's MTIME is 32-bit unsigned. */ +struct timespec time_stamp; + /* The set of signals that are caught. */ static sigset_t caught_signals; =20 @@ -1534,17 +1539,10 @@ local int get_method(in) stamp |=3D ((ulg)get_byte()) << 8; stamp |=3D ((ulg)get_byte()) << 16; stamp |=3D ((ulg)get_byte()) << 24; - if (stamp !=3D 0 && !no_time) + if (!no_time && 0 < stamp && stamp <=3D TYPE_MAXIMUM (time_t)) { - if (stamp <=3D TYPE_MAXIMUM (time_t)) - { - time_stamp.tv_sec =3D stamp; - time_stamp.tv_nsec =3D 0; - } - else - WARN ((stderr, - "%s: %s: MTIME %lu out of range for this platform\n= ", - program_name, ifname, stamp)); + time_stamp.tv_sec =3D stamp; + time_stamp.tv_nsec =3D 0; } =20 magic[8] =3D get_byte (); /* Ignore extra flags. */ @@ -1773,7 +1771,9 @@ local void do_list(ifd, method) static char const month_abbr[][4] =3D { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; - struct tm *tm =3D localtime (&time_stamp.tv_sec); + struct tm *tm =3D (time_stamp.tv_nsec < 0 + ? NULL + : localtime (&time_stamp.tv_sec)); printf ("%5s %08lx ", methods[method], crc); if (tm) printf ("%s%3d %02d:%02d ", month_abbr[tm->tm_mon], @@ -1919,21 +1919,23 @@ local void copy_stat(ifstat) int r; =20 #ifndef NO_UTIME + bool restoring; struct timespec timespec[2]; timespec[0] =3D get_stat_atime (ifstat); timespec[1] =3D get_stat_mtime (ifstat); + restoring =3D (decompress && 0 <=3D time_stamp.tv_nsec + && ! (timespec[1].tv_sec =3D=3D time_stamp.tv_sec + && timespec[1].tv_nsec =3D=3D time_stamp.tv_nsec)= ); + if (restoring) + timespec[1] =3D time_stamp; =20 - if (decompress && 0 <=3D time_stamp.tv_nsec - && ! (timespec[1].tv_sec =3D=3D time_stamp.tv_sec - && timespec[1].tv_nsec =3D=3D time_stamp.tv_nsec)) + if (fdutimens (ofd, ofname, timespec) =3D=3D 0) { - timespec[1] =3D time_stamp; - if (verbose > 1) { + if (restoring && 1 < verbose) { fprintf(stderr, "%s: time stamp restored\n", ofname); } } - - if (fdutimens (ofd, ofname, timespec) !=3D 0) + else { int e =3D errno; WARN ((stderr, "%s: ", program_name)); --=20 2.7.4 --------------615BB2D514228B3AA16910B9-- ------------=_1478317022-16392-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Oct 2016 14:55:38 +0000 Received: from localhost ([127.0.0.1]:37306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0rWL-0008Sp-RE for submit@debbugs.gnu.org; Sun, 30 Oct 2016 10:55:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0rWK-0008SO-VS for submit@debbugs.gnu.org; Sun, 30 Oct 2016 10:55:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0rW6-0006MU-KK for submit@debbugs.gnu.org; Sun, 30 Oct 2016 10:55:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c0rW6-0006MO-Gr for submit@debbugs.gnu.org; Sun, 30 Oct 2016 10:55:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0rW5-0001ha-1m for bug-gzip@gnu.org; Sun, 30 Oct 2016 10:55:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0rW4-0006Kd-1J for bug-gzip@gnu.org; Sun, 30 Oct 2016 10:55:21 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:34045) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c0rW3-0006JN-P5 for bug-gzip@gnu.org; Sun, 30 Oct 2016 10:55:19 -0400 Received: by mail-pf0-x243.google.com with SMTP id y68so476134pfb.1 for ; Sun, 30 Oct 2016 07:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version; bh=x7W9NnP41at3ZfWRUtP79Iw3IvrOKjtOw+DEf8BlgNQ=; b=L61VlJKVL7A9//jzmjkO8jY8ppvKZg5XIaQ4OUI6zui4VxskRACijOM6e+WFsXXHtH /x2FF74wxuKL3W7AxI5HHvZYfbgbOiFihsI38Mh63FG1KEbxHTY1zZANjM02ieb4WUWa oY9ymjqTHJPb8qu1E25ieONWCPeGANOWcbketaKULc+Mk7hvr30wB5/Jq2rjX2s/Vwa8 kBdCJg1BttocMaYRxzFbprMPRnByQCsEyOdHNxzqHNGUu34H81lAXEpr2kvHjkS6ps88 /STIXTP0JhnPWm6YHTh3npKBZ2MSLG391cM3LRf582ARcZcCnkxxRr6/U8TFvk0JPu9v FqHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=x7W9NnP41at3ZfWRUtP79Iw3IvrOKjtOw+DEf8BlgNQ=; b=IksoVjmeoiT7NZm7K6cBmY5raWBDtnZ7nryMC84FIv3/GmqV+aHd6WUfOyXBWcuFQB nbyEvUrxJTtv3XZIHrJCKB7rvr8tM5z2jLTyxnFHrTaAlnmNgzx+9nPY4U5RL4YudGXQ VzoBuSDhkZ0O4F5dT053Afb8Q0PYc7Mz2xDIkzhRcSj3Z9CzlRvFOnK1zZNDfEtuwJcA vlDK1aagJezgCmQiOtd7fbYvHcumegxE9cDCqkyhOX8yLsrW2WcebWxCq2w63j++YnX3 FUuWwGcbGbCMnSYYU5CsqKrQmTHyoqdoyg5tD+p2YPeNrMWXKRFeUlFtDcoW+JME2/xr k/RQ== X-Gm-Message-State: ABUngvdwA4tA4Q5Rn6s261uqA5V1lP18M27WnnCvrY+VuvIHChO194ar4K1A/tC4LgqSxQ== X-Received: by 10.98.201.207 with SMTP id l76mr41518762pfk.137.1477839318377; Sun, 30 Oct 2016 07:55:18 -0700 (PDT) Received: from jm.local ([2620:10d:c090:180::6319]) by smtp.gmail.com with ESMTPSA id 70sm30530371pfc.50.2016.10.30.07.55.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Oct 2016 07:55:16 -0700 (PDT) From: Jim Meyering To: bug-gzip@gnu.org Subject: [PATCH 1/2] gzip --no-name: avoid spurious warning Date: Sun, 30 Oct 2016 07:55:08 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit 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: -3.8 (---) The first one is a clear bug fix. For the second, since --no-time (-T) never worked (-m does), I could also just remove its entry from longopts. We've done without it for so long, there's little point to adding an undocumented --no-time, now. >From ed37ad2fe34cb37a1dc1687fb6c441e2ebd2e86b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 24 Oct 2016 10:10:04 -0700 Subject: [PATCH 1/2] gzip --no-name: avoid spurious warning I noticed that while attempting to create gzip's own gzip-compressed release tarball, gzip would emit this warning and exit with status 2: gzip: stdin: warning: file time stamp out of range for gzip format Here is a minimal reproducer: : | gzip --no-name > k * zip.c (zip): Skip validity check when no_time is set. * gzip.c (no_time): Make this variable global. * gzip.h (no_time): Declare it extern. * tests/timestamp: Add a test to exercise the fix. Introduced by commit v1.8-6-g51dee92 --- gzip.c | 2 +- gzip.h | 1 + tests/timestamp | 3 +++ zip.c | 4 +++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gzip.c b/gzip.c index 0fca5a3..f990fa2 100644 --- a/gzip.c +++ b/gzip.c @@ -173,7 +173,7 @@ static int decompress = 0; /* decompress (-d) */ static int force = 0; /* don't ask questions, compress links (-f) */ static int keep = 0; /* keep (don't delete) input files */ static int no_name = -1; /* don't save or restore the original file name */ -static int no_time = -1; /* don't save or restore the original file time */ + int no_time = -1; /* don't save or restore the original file time */ static int recursive = 0; /* recurse through directories (-r) */ static int list = 0; /* list the file contents (-l) */ int verbose = 0; /* be verbose (-v) */ diff --git a/gzip.h b/gzip.h index f298b47..4117306 100644 --- a/gzip.h +++ b/gzip.h @@ -199,6 +199,7 @@ typedef int file_t; /* Do not use stdio */ extern int exit_code; /* program exit code */ extern int verbose; /* be verbose (-v) */ +extern int no_time; /* --no-time (-T) */ extern int quiet; /* be quiet (-q) */ extern int level; /* compression level */ extern int test; /* check .z file integrity */ diff --git a/tests/timestamp b/tests/timestamp index 7acfe5d..141c1d4 100755 --- a/tests/timestamp +++ b/tests/timestamp @@ -49,4 +49,7 @@ touch -t 210602070628.15 in || { test $? = 2 || fail=1 } +# Ensure that --no-name does not provoke a time stamp warning. +: | gzip --no-name > k || fail=1 + Exit $fail diff --git a/zip.c b/zip.c index eb60409..cebd719 100644 --- a/zip.c +++ b/zip.c @@ -54,7 +54,9 @@ int zip(in, out) flags |= ORIG_NAME; } put_byte(flags); /* general flags */ - if (0 < time_stamp.tv_sec && time_stamp.tv_sec <= 0xffffffff) + if (no_time) + stamp = 0; + else if (0 < time_stamp.tv_sec && time_stamp.tv_sec <= 0xffffffff) stamp = time_stamp.tv_sec; else { -- 2.7.4 >From 6d0eabd745de16616beda963e0bee662a1664478 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 24 Oct 2016 09:58:22 -0700 Subject: [PATCH 2/2] gzip: accept --no-time option (undocumented, like -m) The undocumented -m option has been accepted since the beginning, but its associated --no-time option has never been accepted, due to the use of 'T' (not mentioned in shortopts) instead of 'm' in the definition of longopts. This made it so an attempt to use this long option would elicit only a bare "Try `gzip --help' for more information." * gzip.c (longopts): Specify 'm' with --no-time, not 'T'. --- gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gzip.c b/gzip.c index f990fa2..9e34c80 100644 --- a/gzip.c +++ b/gzip.c @@ -285,7 +285,7 @@ static const struct option longopts[] = {"recursive", 0, 0, 'r'}, /* recurse through directories */ {"suffix", 1, 0, 'S'}, /* use given suffix instead of .gz */ {"test", 0, 0, 't'}, /* test compressed file integrity */ - {"no-time", 0, 0, 'T'}, /* don't save or restore the time stamp */ + {"no-time", 0, 0, 'm'}, /* don't save or restore the time stamp */ {"verbose", 0, 0, 'v'}, /* verbose mode */ {"version", 0, 0, 'V'}, /* display version number */ {"fast", 0, 0, '1'}, /* compress faster */ -- 2.7.4 ------------=_1478317022-16392-1-- From unknown Sat Aug 16 20:01:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24826: [PATCH 1/2] gzip --no-name: avoid spurious warning Resent-From: Jim Meyering Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Sat, 05 Nov 2016 14:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24826 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: patch To: Paul Eggert Cc: 24826-done@debbugs.gnu.org Received: via spool by 24826-done@debbugs.gnu.org id=D24826.147835485810141 (code D ref 24826); Sat, 05 Nov 2016 14:08:01 +0000 Received: (at 24826-done) by debbugs.gnu.org; 5 Nov 2016 14:07:38 +0000 Received: from localhost ([127.0.0.1]:46052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c31dC-0002dV-21 for submit@debbugs.gnu.org; Sat, 05 Nov 2016 10:07:38 -0400 Received: from mail-it0-f52.google.com ([209.85.214.52]:36531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c31dA-0002dI-AV for 24826-done@debbugs.gnu.org; Sat, 05 Nov 2016 10:07:36 -0400 Received: by mail-it0-f52.google.com with SMTP id m138so27254749itm.1 for <24826-done@debbugs.gnu.org>; Sat, 05 Nov 2016 07:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=XSbr+8GUO6iQWZDrtpDsZvi3yy6H2w8n8ygBNP/ZWuo=; b=dXIfB9fVEHLN1jLLPdQ9q56FjUk1GWCI3hDtPT6IFG229D9Fb1iw9Mbivo5XwCxiYU Szm1JRicT3NdtyCN7G609s6KJHgFoTY15WeCQ+3gL4ntnKg/zsVTqnIqX0qdwB/vvMWG zaQN2cpNDWEocBsejHhgCFWK5IuIyDcJeq/duYrLyxtdoUMgD1+xFFRAtEi+Ld/3+r7Z P4nuJlxLWzHtgcYKqBXXaCZBEWsPnAypGc+VBAAMjB4SPUs8/c9pmBO8fHyTrreKnmoR y6T7QrsD8kX0Be1O2BVpJkYN3uJDlUwrP1ERiCxydHuzS7q0VLqZ7f3MXJ5m+nkMG01p yd8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=XSbr+8GUO6iQWZDrtpDsZvi3yy6H2w8n8ygBNP/ZWuo=; b=Wz7qZp0yq5hRLvldi2uCKpolkvSdd3G7cU689ry6AhStje4/heNgfUxn8UrzWFRrcn ph2g72q3hwRfwWjz9UFCiK38sfNPRsgXlfldQbjcATj93lGZNnwmOu6BvgiFMfaG80Qd +EpYZH/G60cAkXBUNKG13tfzZfgCPAeiJeqXgNoS0jm85ACOgfv7L3fSw2c7dsMyMIfm LiGsndx78QGVfdQ0+w4ULdnpdxwOe3QGbAddvSJJIbHCqRGifbLPO/KGQ/2FdWrUSePz YTGnpHTmMvJ7p1c0zfrI/BRNAwi+a7NPE0W5NT9FfZOo9o+WtRHd1eN5GQSALDS7jzes 3Big== X-Gm-Message-State: ABUngvd0NyGjctZW0eakYWv0DiJRxPYQA4geLfgV4f83GLyo+wxhtpah11169JGG17vJ42byhwzX6k9X+5Tdcg== X-Received: by 10.107.128.8 with SMTP id b8mr19880603iod.192.1478354850646; Sat, 05 Nov 2016 07:07:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.141.195 with HTTP; Sat, 5 Nov 2016 07:07:09 -0700 (PDT) In-Reply-To: References: From: Jim Meyering Date: Sat, 5 Nov 2016 09:07:09 -0500 X-Google-Sender-Auth: W4KxYI_IhwpnNnkF7T2f6WbN-O4 Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.0 (/) 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 (/) On Fri, Nov 4, 2016 at 10:36 PM, Paul Eggert wrote: > Jim Meyering wrote: >> >> The first one is a clear bug fix. > > > Oops, my bad. Thanks for catching that. I installed a simpler fix (first > attached patch). > >> For the second, since --no-time (-T) never worked (-m does), >> I could also just remove its entry from longopts. We've >> done without it for so long, there's little point to adding >> an undocumented --no-time, now. > > > Thanks, I like that idea and installed the 2nd attached patch. > > In rereading the code I noticed other problems likely to bite after the year > 2038 (3rd attached patch, also installed). This stuff is a pain, as it won't > see realistic testing for another 20 years or so and I don't see easy test > cases for it, partly because GNU/Linux seems to mishandles these time stamps > now on my platform (Fedora 24 x86-64; I'll try to file a bug report about > this to Fedora). > > Boldly marking the bug as done. All good. Thank you. From unknown Sat Aug 16 20:01:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24826: [PATCH 1/2] gzip --no-name: avoid spurious warning Resent-From: Mark Adler Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Sat, 05 Nov 2016 15:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24826 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: patch To: Jim Meyering Cc: 24826-done@debbugs.gnu.org, Paul Eggert Received: via spool by 24826-done@debbugs.gnu.org id=D24826.147835873622436 (code D ref 24826); Sat, 05 Nov 2016 15:13:01 +0000 Received: (at 24826-done) by debbugs.gnu.org; 5 Nov 2016 15:12:16 +0000 Received: from localhost ([127.0.0.1]:46073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c32dk-0005po-Hl for submit@debbugs.gnu.org; Sat, 05 Nov 2016 11:12:16 -0400 Received: from mail.alumni.caltech.edu ([131.215.242.114]:62844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c32di-0005pb-W1 for 24826-done@debbugs.gnu.org; Sat, 05 Nov 2016 11:12:15 -0400 Received: from [10.0.1.9] (unknown [97.90.41.147]) (Authenticated sender: madler) by mail.alumni.caltech.edu (Postfix) with ESMTPSA id 69416120390; Sat, 5 Nov 2016 08:11:00 -0700 (PDT) X-DKIM: Sendmail DKIM Filter v2.8.3 mail.alumni.caltech.edu 69416120390 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alumni.caltech.edu; s=enforce; t=1478358661; bh=qUM9Z9NbTMx4KDk/YBdMJyTqZ1K4SXPj3lngaFPohaI=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=P/sc/p+loI7BahtMqsvctTnHGyyCc8+OYNzFCkmCfyhyHGfHMvn6WXMxVmuhpTshD CVbemDX5k7l7pckkmsgkXM3yhnwHubRLFs68xYxlMV0SCNd7p7gnX/qbcm/dCmZB40 2ROVIQeJbnDsl2jqcI4jCHta7ykcNgtefFq733xw= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) From: Mark Adler In-Reply-To: Date: Sat, 5 Nov 2016 08:10:56 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8E2E0397-2735-4188-B954-ADB277554AFF@alumni.caltech.edu> References: X-Mailer: Apple Mail (2.3251) X-MailScanner-Information-Alumni: X-Alumni-MailScanner-ID: 69416120390.A02D2 X-MailScanner-Alumni: No Virii found X-Spam-Status-Alumni: not spam, SpamAssassin (not cached, score=-1.1, required 5, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-MailScanner-From: madler@alumni.caltech.edu X-Spam-Score: -4.7 (----) 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: -4.7 (----) FYI, pigz implements -T and --no-time. > On Nov 5, 2016, at 7:07 AM, Jim Meyering wrote: >=20 > On Fri, Nov 4, 2016 at 10:36 PM, Paul Eggert = wrote: >> Jim Meyering wrote: >>>=20 >>> The first one is a clear bug fix. >>=20 >>=20 >> Oops, my bad. Thanks for catching that. I installed a simpler fix = (first >> attached patch). >>=20 >>> For the second, since --no-time (-T) never worked (-m does), >>> I could also just remove its entry from longopts. We've >>> done without it for so long, there's little point to adding >>> an undocumented --no-time, now. >>=20 >>=20 >> Thanks, I like that idea and installed the 2nd attached patch. >>=20 >> In rereading the code I noticed other problems likely to bite after = the year >> 2038 (3rd attached patch, also installed). This stuff is a pain, as = it won't >> see realistic testing for another 20 years or so and I don't see easy = test >> cases for it, partly because GNU/Linux seems to mishandles these time = stamps >> now on my platform (Fedora 24 x86-64; I'll try to file a bug report = about >> this to Fedora). >>=20 >> Boldly marking the bug as done. >=20 > All good. Thank you. >=20 >=20 >=20 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 01:46:31 2016 Received: (at control) by debbugs.gnu.org; 12 Dec 2016 06:46:31 +0000 Received: from localhost ([127.0.0.1]:38696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGKNb-0000wz-HK for submit@debbugs.gnu.org; Mon, 12 Dec 2016 01:46:31 -0500 Received: from mail.alumni.caltech.edu ([131.215.242.114]:8991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGKNa-0000wm-BR for control@debbugs.gnu.org; Mon, 12 Dec 2016 01:46:30 -0500 Received: from [10.0.1.9] (unknown [97.90.41.147]) (Authenticated sender: madler) by mail.alumni.caltech.edu (Postfix) with ESMTPSA id 2AA2D120084; Sun, 11 Dec 2016 22:46:23 -0800 (PST) X-DKIM: Sendmail DKIM Filter v2.8.3 mail.alumni.caltech.edu 2AA2D120084 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alumni.caltech.edu; s=enforce; t=1481525183; bh=m1L5XPE5rTfGviWXxZrWjm6sroN/aJvIhJJb5M648Vs=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date: Content-Transfer-Encoding:Message-Id:References:To; b=jvSu0DflzLONRkxk0d/ptWGX72zDE23SNqcKvTqnC97hcBaO4ih6UE+fmhm50vxL3 xyNtv4uP5bb4sdASQwzwq8L2M45bi8VolVR9C61YHV65nyq249295dI02OrfEpyQiY NYaM8269cGyDzPM4h703sdNsonOtqX25S0/DXKB0= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Archived problem report bug#24826 (bug#24826: [PATCH 1/2] gzip --no-name: avoid spurious warning) From: Mark Adler In-Reply-To: Date: Sun, 11 Dec 2016 22:46:22 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: <709A7135-D6BC-4BC9-8BBE-AA7935515F83@alumni.caltech.edu> To: control@debbugs.gnu.org X-Mailer: Apple Mail (2.3251) X-MailScanner-Information-Alumni: X-Alumni-MailScanner-ID: 2AA2D120084.AD3AF X-MailScanner-Alumni: No Virii found X-Spam-Status-Alumni: not spam, SpamAssassin (not cached, score=-1.1, required 5, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-MailScanner-From: madler@alumni.caltech.edu X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: control 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: -5.3 (-----) unarchive 24826