]> git.eshelyaron.com Git - emacs.git/commit
Support Posix-standard pax extended header in tar files
authorEli Zaretskii <eliz@gnu.org>
Thu, 27 Jul 2023 08:36:00 +0000 (11:36 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 27 Jul 2023 08:36:00 +0000 (11:36 +0300)
commit2dc5f17c3ecf6864fdcb8ebae73c02a8d04c415a
tree2321e4abe8ab2ad3d52ec5abf55304584892ee59
parentb936ff0963e69d30d77cec5323a95bc2385cf212
Support Posix-standard pax extended header in tar files

* lisp/tar-mode.el (pax-extended-attribute-record-regexp)
(tar-attr-vector): New variables.
(pax-gid-index, pax-gname-index, pax-linkpath-index)
(pax-mtime-index, pax-path-index, pax-size-index, pax-uid-index)
(pax-uname-index): New constants.
(pax-header-gid, pax-header-gname, pax-header-linkpath)
(pax-header-mtime, pax-header-path, pax-header-size)
(pax-header-uid, pax-header-uname): New accessors to pax header.
(pax-decode-string, tar-parse-pax-extended-header): New functions.
(tar-header-block-tokenize): Recognize and handle Posix-standard
pax extended header, and use its attributes instead of those in
the standard tar header.  (Bug#64686)
lisp/tar-mode.el