fix a with-handlers to avoid catching break exns

original commit: c7810ba2aeb5588707c1dfc39962a89b529b0e80
This commit is contained in:
Robby Findler 2013-03-05 22:21:41 -06:00
parent 2c493915e4
commit 3bdf5e116d

View File

@ -238,7 +238,7 @@
(define/public (locate-file name)
(let* ([normalized
;; allow for the possibility of filenames that are urls
(with-handlers ([(λ (x) #t)
(with-handlers ([exn:fail?
(λ (x) name)])
(normal-case-path
(normalize-path name)))]