From 29636b5868d00b658490829eb22ae5435547e29e Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Tue, 27 May 2014 09:41:16 -0700 Subject: [PATCH] Fix uri->pathname too, just for completeness. (uri->pathname (pathname->uri "./file")) does not signal an error, but it does not produce the same directory component as (->pathname "./file"). Now (pathname=? (->pathname "./file") (uri->pathname...)) is #t, at least on Unix(?). --- src/runtime/pathnm.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/pathnm.scm b/src/runtime/pathnm.scm index 766a52819..01c4fe7e6 100644 --- a/src/runtime/pathnm.scm +++ b/src/runtime/pathnm.scm @@ -348,6 +348,7 @@ these rules: (map (lambda (x) (cond ((string=? x "*") 'WILD) ((string=? x "..") 'UP) + ((string=? x ".") 'HERE) (else (utf8-string->string x)))) (uri-path uri))) (lose -- 2.25.1