io: avoid some unneeded work when sending paths to rktio

This commit is contained in:
Matthew Flatt 2019-03-29 19:18:04 -06:00
parent fdf13f9dfc
commit e7456d3e9e

View File

@ -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)])