GNU bug report logs - #77898
31.0.50; arc-mode: Split PKZIP archive signature not recognized

Previous Next

Package: emacs;

Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>

Date: Fri, 18 Apr 2025 12:33:03 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 77898 <at> debbugs.gnu.org (full text, mbox):

From: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77898 <at> debbugs.gnu.org
Subject: Re: bug#77898: 31.0.50; arc-mode: Split PKZIP archive signature not
 recognized
Date: Sat, 19 Apr 2025 21:08:21 +0200
[Message part 1 (text/plain, inline)]
On 2025-04-19  15:07, Eli Zaretskii wrote:

> Or even
> 
>     ;;    See APPNOTE.txt
>     (cond ((looking-at "\\(?:PK\007\010\\|PK00\\)?[P]K\003\004") 'zip)

Thanks, I went for that.

Please find attached the next version of the patch.  I added tests not
only for zip and split zip detection, but also for all archivers that
follow the calling pattern

  ARCHIVER PARAMETER... ARCHIVE FILE...

and that I could easily install on my GNU/Linux system.  Which were
surprisingly many.

Of course, such tests are highly OS-dependent any have the potential
of causing a lot of failures, even though I tried to code them in a
defensive manner.

WDYT?

Thanks.
[0001-Detect-more-types-of-split-zip-archives.patch (text/x-patch, attachment)]

This bug report was last modified 24 days ago.

Previous Next


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