mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
(tar-header-block-tokenize): Obey @LongLink even for
POSIX tar archives (bug#3410).
This commit is contained in:
parent
bea2e9691d
commit
e66f4dfb75
@ -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…
Reference in New Issue
Block a user