Fix for bug #42412: "scheme --load ./file" fails.
authorMatt Birkholz <puck@birchwood-abbey.net>
Tue, 27 May 2014 15:55:37 +0000 (08:55 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Tue, 27 May 2014 15:55:37 +0000 (08:55 -0700)
Fix pathname->uri to handle the new directory name 'HERE, introduced
in commit 00aab1c.  Thanks to David Kinzer <dtkinzer>.

src/runtime/pathnm.scm

index 273254362b1cc9099ca28129fe2b286e7fd7b44b..766a5281920607ccb61f26c7a7c74dce2119ebcd 100644 (file)
@@ -305,6 +305,7 @@ these rules:
              (map (lambda (x)
                     (cond ((eq? x 'WILD) "*")
                           ((eq? x 'UP) "..")
+                          ((eq? x 'HERE) ".")
                           (else (string->utf8-string x))))
                   (append (if (pathname-absolute? pathname)
                               (list "")