From: Stephen Berman <stephen.berman@gmx.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: arc-mode.el bug or malformed ZIP file?
Date: Thu, 24 Sep 2020 22:02:17 +0200 [thread overview]
Message-ID: <875z83vt86.fsf@gmx.net> (raw)
In-Reply-To: <jwvmu1gq69g.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 23 Sep 2020 22:05:55 -0400")
On Wed, 23 Sep 2020 22:05:55 -0400 Stefan Monnier <monnier@iro.umontreal.ca> 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
next prev parent reply other threads:[~2020-09-24 20:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 23:13 arc-mode.el bug or malformed ZIP file? Stephen Berman
2020-09-24 2:05 ` Stefan Monnier
2020-09-24 20:02 ` Stephen Berman [this message]
2020-09-28 17:08 ` Stefan Monnier
2020-09-28 18:11 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875z83vt86.fsf@gmx.net \
--to=stephen.berman@gmx.net \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).