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 #25 received at 77898-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
Cc: 77898-done <at> debbugs.gnu.org
Subject: Re: bug#77898: 31.0.50; arc-mode: Split PKZIP archive signature not
 recognized
Date: Thu, 24 Apr 2025 16:09:54 +0300
> Date: Sat, 19 Apr 2025 21:08:21 +0200
> Cc: 77898 <at> debbugs.gnu.org
> From: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
> 
> 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?

LGTM, and the tests succeeded on my system, so I've now installed this
on master, and I'm closing the bug.




This bug report was last modified 23 days ago.

Previous Next


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