tar: Extract fix.
* gash/ustar.scm (read-ustar-file): Use binary output port.
This commit is contained in:
parent
63f2d4b5f8
commit
8bcc6d3c82
|
@ -483,7 +483,7 @@
|
|||
(case (ustar-header-type header)
|
||||
((regular)
|
||||
(if (file-exists? file-name) (delete-file file-name))
|
||||
(with-output-to-file file-name thunk))
|
||||
(with-output-to-file file-name thunk #:binary #t))
|
||||
((directory) (mkdir-p file-name))
|
||||
((symlink) (symlink (ustar-header-link-name header) file-name )))
|
||||
(thunk))
|
||||
|
|
Loading…
Reference in New Issue