From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Ernst Newsgroups: gmane.emacs.bugs Subject: tar-mode and longnames Date: Mon, 25 Mar 2002 17:40:37 -0500 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200203252240.RAA16999@meoptiplex.lcs.mit.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1017096147 20839 127.0.0.1 (25 Mar 2002 22:42:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2002 22:42:27 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16pdAY-0005Q0-00 for ; Mon, 25 Mar 2002 23:42:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pdAW-00012J-00; Mon, 25 Mar 2002 17:42:24 -0500 Original-Received: from geyer.lcs.mit.edu ([18.26.3.21]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pd8n-0000x7-00 for ; Mon, 25 Mar 2002 17:40:37 -0500 Original-Received: from meoptiplex.lcs.mit.edu (meoptiplex.lcs.mit.edu [18.26.3.32]) by geyer.lcs.mit.edu (8.9.3/8.9.3) with ESMTP id RAA12335; Mon, 25 Mar 2002 17:40:37 -0500 Original-Received: (from mernst@localhost) by meoptiplex.lcs.mit.edu (8.9.3/8.9.1) id RAA16999; Mon, 25 Mar 2002 17:40:37 -0500 Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:174 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:174 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 * 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")