Let PATH-LIST->FILE-NAME return "/" for '("").
'("") is the value returned by (split-file-name "/") and PATH-LIST->FILE-NAME is supposed to be the inverse of SPLIT-FILE-NAME.
This commit is contained in:
parent
2aac5914d6
commit
6b5e75bd3f
|
@ -115,7 +115,9 @@
|
||||||
(apply string-append
|
(apply string-append
|
||||||
(if (and (pair? pathlist)
|
(if (and (pair? pathlist)
|
||||||
(string=? "" (car pathlist)))
|
(string=? "" (car pathlist)))
|
||||||
w/slashes ; Absolute path not relocated.
|
(if (null? (cdr pathlist)) ; special case for pathlist = '("")
|
||||||
|
'("/")
|
||||||
|
w/slashes) ; Absolute path not relocated.
|
||||||
(cons (file-name-as-directory root) w/slashes)))))
|
(cons (file-name-as-directory root) w/slashes)))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue