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:
mainzelm 2003-12-19 08:27:34 +00:00
parent 2aac5914d6
commit 6b5e75bd3f
1 changed files with 3 additions and 1 deletions

View File

@ -115,7 +115,9 @@
(apply string-append
(if (and (pair? 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)))))