From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 43597@debbugs.gnu.org, schwab@linux-m68k.org
Subject: bug#43597: 28.0.50; arc-mode.el fails to display a ZIP file
Date: Fri, 25 Sep 2020 09:01:02 +0300 [thread overview]
Message-ID: <83a6xetmxt.fsf@gnu.org> (raw)
In-Reply-To: <87zh5evrgw.fsf@gmx.net> (message from Stephen Berman on Thu, 24 Sep 2020 22:40:15 +0200)
> From: Stephen Berman <stephen.berman@gmx.net>
> Date: Thu, 24 Sep 2020 22:40:15 +0200
> Cc: 43597@debbugs.gnu.org
>
> (let ((p (archive-l-e (+ (point) 16) 4))
> files)
> (when (= p -1)
> ;; If the offset of end-of-central-directory is -1, this is a
> ;; Zip64 extended ZIP file format, and we need to glean the info
> ;; from Zip64 records instead.
>
> But the first value returned by archive-l-e for this file is 255, not
> -1, and on each iteration the value increases, so the ZIP64 code in the
> body of the when-clause is never executed.
This code worked when support for ZIP64 was added.
Could it be that the problem is in archive-l-e? Something related to
bignums, perhaps? Why does it return 255 instead of -1 in this case?
next prev parent reply other threads:[~2020-09-25 6:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 20:02 bug#43597: 28.0.50; arc-mode.el fails to display a ZIP file Stephen Berman
2020-09-24 20:25 ` Andreas Schwab
2020-09-24 20:40 ` Stephen Berman
2020-09-24 21:58 ` Stephen Berman
2020-09-24 22:20 ` Stephen Berman
2020-09-25 6:01 ` Eli Zaretskii [this message]
2020-09-25 7:13 ` Stephen Berman
2020-09-25 9:37 ` Eli Zaretskii
2020-09-25 9:53 ` Eli Zaretskii
2020-09-25 10:32 ` Stephen Berman
2020-09-25 11:00 ` Eli Zaretskii
2020-09-25 12:05 ` Stephen Berman
2020-09-25 12:38 ` Eli Zaretskii
2020-09-25 12:43 ` Eli Zaretskii
2020-09-25 12:49 ` Stephen Berman
2020-09-25 13:33 ` Eli Zaretskii
2020-09-25 13:58 ` Stephen Berman
2020-09-25 14:12 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a6xetmxt.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=43597@debbugs.gnu.org \
--cc=schwab@linux-m68k.org \
--cc=stephen.berman@gmx.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.