mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
tar-mode.el (tar-header-block-tokenize): Decode filenames in "ustar" format.
This commit is contained in:
parent
368b354442
commit
fd057fd25e
@ -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…
Reference in New Issue
Block a user