normalize-path can raise non-exn:fail:filesystem? exceptions
when this function should still be returning #f (and not raising an exn)
This commit is contained in:
parent
7a272208cb
commit
9b99dc2a25
|
@ -3161,7 +3161,7 @@
|
|||
(set-visible-regions interactions-text vi)))
|
||||
|
||||
(define/private (pathname-equal? p1 p2)
|
||||
(with-handlers ([exn:fail:filesystem? (λ (x) #f)])
|
||||
(with-handlers ([exn:fail? (λ (x) #f)])
|
||||
(string=? (path->string (normal-case-path (normalize-path p1)))
|
||||
(path->string (normal-case-path (normalize-path p2))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user