mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-26 08:41:47 -07:00
tar-mode.el (tar-header-block-tokenize): Decode filenames in "ustar" format.
This commit is contained in:
parent
368b354442
commit
fd057fd25e
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2010-09-27 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* tar-mode.el (tar-header-block-tokenize): Decode filenames in
|
||||
"ustar" format.
|
||||
|
||||
2010-09-27 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* international/mule.el (define-coding-system): Docstring fixed.
|
||||
|
|
|
|||
|
|
@ -286,7 +286,8 @@ write-date, checksum, link-type, and link-name."
|
|||
(let* ((size (tar-parse-octal-integer
|
||||
string tar-size-offset tar-time-offset))
|
||||
;; -1 so as to strip the terminating 0 byte.
|
||||
(name (buffer-substring pos (+ pos size -1)))
|
||||
(name (decode-coding-string
|
||||
(buffer-substring pos (+ pos size -1)) coding))
|
||||
(descriptor (tar-header-block-tokenize
|
||||
(+ pos (tar-roundup-512 size))
|
||||
coding)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue