GNU bug report logs - #52477
27.1; .crx and .crx3 are zip files

Previous Next

Package: emacs;

Reported by: "Trent W. Buck" <trentbuck <at> gmail.com>

Date: Tue, 14 Dec 2021 04:58:02 UTC

Severity: wishlist

Found in version 27.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: trentbuck <at> gmail.com, 52477 <at> debbugs.gnu.org, stefan <at> marxist.se
Subject: bug#52477: 27.1; .crx and .crx3 are zip files
Date: Thu, 16 Dec 2021 11:22:08 +0200
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Date: Thu, 16 Dec 2021 09:56:57 +0100
> Cc: "Trent W. Buck" <trentbuck <at> gmail.com>, 52477 <at> debbugs.gnu.org
> 
> > The first couple of bytes of that files is "Cr24", while a normal zip
> > file starts with "PK".
> 
> Yes, and that's why libarchive(3) doesn't handle it. Sadly, I cannot add
> it to tramp-archive.el, therefore.
> 
> But there's no reason to prevent it from adding to arc-mode.el and/or
> dired-aux.el.

If the file doesn't follow the PKZip spec in the initial signature,
who knows what else in that spec doesn't it follow?  The ZIP spec has
a lot of special rules and formatting requirements, so if a file
doesn't follow them, how can we support it without knowing its exact
format specification?




This bug report was last modified 3 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.