projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b141c4f
)
Fix uri->pathname too, just for completeness.
author
Matt Birkholz
<puck@birchwood-abbey.net>
Tue, 27 May 2014 16:41:16 +0000
(09:41 -0700)
committer
Matt Birkholz
<puck@birchwood-abbey.net>
Sat, 11 Oct 2014 20:26:16 +0000
(13:26 -0700)
(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
patch
|
blob
|
history
diff --git
a/src/runtime/pathnm.scm
b/src/runtime/pathnm.scm
index 766a5281920607ccb61f26c7a7c74dce2119ebcd..01c4fe7e60f620585a88262628a702ca56819a21 100644
(file)
--- 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