bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#77898: 31.0.50; arc-mode: Split PKZIP archive signature not recogniz


From: Jens Schmidt
Subject: bug#77898: 31.0.50; arc-mode: Split PKZIP archive signature not recognized
Date: Sat, 19 Apr 2025 21:08:21 +0200
User-agent: Mozilla Thunderbird

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.

Attachment: 0001-Detect-more-types-of-split-zip-archives.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]