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

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

tar-mode and longnames


From: Michael Ernst
Subject: tar-mode and longnames
Date: Mon, 25 Mar 2002 17:40:37 -0500

Emacs 21.2's tar-mode does not recognize one of the tar header link types
that I sometimes encounter.  The following patch corrects the problem.

2002-03-24  Michael Ernst  <address@hidden>

        * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
        Support "next has longname" link type.

*** /usr/local/share/emacs/21.2/lisp/tar-mode.el        Thu Sep 27 04:11:36 2001
--- -   Sun Mar 24 00:10:14 2002
***************
*** 357,360 ****
--- 357,361 ----
                  ((eq type 6) ?p)      ; FIFO/pipe
                  ((eq type 20) ?*)     ; directory listing
+                 ((eq type 28) ?L)     ; next has longname
                  ((eq type 29) ?M)     ; multivolume continuation
                  ((eq type 35) ?S)     ; sparse
***************
*** 650,653 ****
--- 651,655 ----
               (cond ((eq link-p 5) "directory")
                     ((eq link-p 20) "tar directory header")
+                    ((eq link-p 28) "next has longname")
                     ((eq link-p 29) "multivolume-continuation")
                     ((eq link-p 35) "sparse entry")




reply via email to

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