io: avoid some unneeded work when sending paths to rktio
This commit is contained in:
parent
fdf13f9dfc
commit
e7456d3e9e
|
@ -18,7 +18,7 @@
|
|||
(let ([p (->path p)])
|
||||
(when who
|
||||
(security-guard-check-file who p guards))
|
||||
(path-bytes (cleanse-path (path->complete-path p (current-directory))))))
|
||||
(path-bytes (cleanse-path (path->complete-path p current-directory #:wrt-given? #f)))))
|
||||
|
||||
(define (->host/as-is p who src)
|
||||
(let ([p (->path p)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user