Skip to content

Commit cf7cb31

Browse files
committed
use uiop:with-temporary-file instead of logical host
1 parent 10362c2 commit cf7cb31

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

content-hash.lisp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ starting storage block in STREAM, and the total file size."
9595
(defun content-hash (tarfile)
9696
"Return a hash string of TARFILE. The hash is computed by creating
9797
the digest of the files in TARFILE in order of their name."
98-
(let ((temp "quicklisp-controller:tmp;tarhash.tar"))
99-
(ensure-directories-exist temp)
98+
(uiop:with-temporary-file (:pathname temp)
10099
(setf tarfile (gunzip tarfile temp))
101100
(unwind-protect
102101
(with-open-file (stream tarfile :element-type '(unsigned-byte 8))

0 commit comments

Comments
 (0)