mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(tar-header-block-tokenize): Obey @LongLink even for
POSIX tar archives (bug#3410).
This commit is contained in:
parent
bea2e9691d
commit
e66f4dfb75
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2009-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* tar-mode.el (tar-header-block-tokenize): Obey @LongLink even for
|
||||
POSIX tar archives (bug#3410).
|
||||
|
||||
2009-06-04 Johan Bockgård <bojohan@gnu.org>
|
||||
|
||||
* vc.el (vc-revision-other-window): Fix argument to backend
|
||||
|
|
|
|||
|
|
@ -276,7 +276,10 @@ write-date, checksum, link-type, and link-name."
|
|||
(setq link-p 5)) ; directory
|
||||
|
||||
(if (and (equal name "././@LongLink")
|
||||
(equal magic-str "ustar ")) ;OLDGNU_MAGIC.
|
||||
;; Supposedly @LongLink is only used for GNUTAR
|
||||
;; format (i.e. "ustar ") but some POSIX Tar files
|
||||
;; (with "ustar\0") have been seen using it as well.
|
||||
(member magic-str '("ustar " "ustar\0")))
|
||||
;; This is a GNU Tar long-file-name header.
|
||||
(let* ((size (tar-parse-octal-integer
|
||||
string tar-size-offset tar-time-offset))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue