From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: arc-mode.el bug or malformed ZIP file? Date: Thu, 24 Sep 2020 22:02:17 +0200 Message-ID: <875z83vt86.fsf@gmx.net> References: <875z846q89.fsf@rub.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15022"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 24 22:08:39 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kLXXi-0003ng-8I for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Sep 2020 22:08:38 +0200 Original-Received: from localhost ([::1]:40098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLXXh-00069v-3Z for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Sep 2020 16:08:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLXRn-0002gj-FH for emacs-devel@gnu.org; Thu, 24 Sep 2020 16:02:31 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:43225) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLXRl-0002cr-Hy for emacs-devel@gnu.org; Thu, 24 Sep 2020 16:02:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600977743; bh=xsaK0ea5xfBI23HPl5GRYW1tgOSfjw7IpqceyuMLkwo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=GqwjnLl9jftpOZlPw+8qQyS3qrNrywfRpRUWnmhFtzmBMnvPgp6vTpnn+89O1ct0T ZVqhd5gJetZ0YmjimEBJo2Hq4g8mBGLKUquQShKLAas6YVgCdckm1G9YGUbB+fuG4U nCZLtZr0YHdG1nQmB2uHDlMQn7HKQANsvcdWcneQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([178.6.220.84]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MOiDX-1k5lqa1Gbn-00QA1y; Thu, 24 Sep 2020 22:02:23 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 23 Sep 2020 22:05:55 -0400") X-Provags-ID: V03:K1:JHZ8NoyHNDz8Ahk//pUBZNBopKMEQcTU91Lw78dRFnvblZ7u13l Cov74ITiRjLJPZg4+rtkf5hmDLH3IZCMo6BMgTKtzkk+iZJDA8HhQVx65qhkxfDqOxTKi4B +/3nhPoFV00jfqFkiwX3ysNZ/6r0Nd8Nf38Bd8iGMuX+WcwXUvj/bh73nyLKzNGCn47xCrX 7abNefTokJDxLI1TKPxmg== X-UI-Out-Filterresults: notjunk:1;V03:K0:Iy35Sirnz3k=:5b+8FU1yD5N5J1d2SxOsTQ o1sxqh+V6ddYVjd+qPu/jUxmw6gORS2XfAyb2X4XHy0Cv4zWtwpZsF0otQV8NBj6xQQ8x2wij ZCN7k5RrREXalXuFTvirWlDWzAMJAyyNnpvpi1oB4DsVN3mVotJR5aECVnlJcM7ueXbNXzag2 IOfbG5OdSswnBwBSbM30qdX1j1H1OtZNJhxcHpRWIMNtgRgPbOupvtYTnbV4WSCPTI4bKlElw TxzoMOE5xRtZuVAcq1wyuUvc0bBbm3o2f/aQVzh0fVmlbraISGrgJ4a8Hiv5SsbRTCkbQIOgl 7n64v6+o3IrbIyjZcwh/SwzPrNhX3wR2HYgtqWiY6PPg6CZVl1aixL77zvm+SBqcgBkXY/EyE SY31GU+m543lJAXKRfciocOw9vpS4RDLbv22eHTcyfwO62Zwozl8rVfgywzhitkpahpA1w51H jHgVg7EG7oLzRfOI3t93Y64dXt403mdEXX8xfEj+hrjYNeiYi/0z2MBkzdKrrXhM5H/u3ji8S fsLZP939mzanDohMRHkruZOLGeZYruEFlreVd62XzFOjWBbJthsR1UuoJAX7Du27o2q6UTncy yfI7do4skRzqzALoGbA/qgQFt4yWiheYXViWP0A1nrITZd0PQvYUjgtKiT/VZQJKq+18uf70q UY3G4MUhtGGIsJJKZyAs3Q1ijwIdmqs1457ia10sLsmdMmdcamLST4eqlXyVo4WFgpJDQHyLh IErZCHaebQugqGmTtjuVstXOFEZkEeM+vyyuHqYcWgRUclAQKKcS7PxCS4+yohSYdeyeceNl Received-SPF: pass client-ip=212.227.17.21; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/24 16:02:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256402 Archived-At: On Wed, 23 Sep 2020 22:05:55 -0400 Stefan Monnier wrote: >> undamaged). So at least unzip can deal with this file. So is this a >> bug in arc-mode.el? > > Probably. Could be a new file format, for instance (e.g. maybe the old > format understood by arc-mode.el is limited to 2GB sizes or something > like that?). The size can't be the reason for the failure: the ZIP file whose contents are not displayed in archive-mode is about 95 MB, but I have some much larger ZIP file whose contents are displayed in archive-mode with no problem. But maybe there are more recent format changes for other reasons. I'm using a patched version of unzip 6.0, which is the most recent from 2009, but the patch is from 2019 (though I don't see anything in it about format changes). I did search the web briefly but found nothing about valid byte sequences at the end of the file. But I'll go ahead and file a bug report, maybe someone who knows more about the ZIP format will see how to fix or extend arc-mode.el. Steve Berman