mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 07:12:26 -08:00
ENSURE-DIRECTORIES-EXIST did not convert logical pathnames into physical pathnames before creating them
This commit is contained in:
parent
a86bbd3605
commit
e2aa42d050
2 changed files with 6 additions and 0 deletions
|
|
@ -150,6 +150,10 @@ ECL 11.1.1:
|
|||
ECL 11.1.2
|
||||
==========
|
||||
|
||||
* Bugs fixed:
|
||||
|
||||
- ENSURE-DIRECTORIES-EXIST did not work properly with logical pathnames.
|
||||
|
||||
* Visible changes:
|
||||
|
||||
- When printing error messages, the condition type is shown (M. Mondor)
|
||||
|
|
|
|||
|
|
@ -261,6 +261,8 @@ where CREATED is true only if we succeeded on creating all directories."
|
|||
(let* ((created nil)
|
||||
(full-pathname (merge-pathnames pathname))
|
||||
d)
|
||||
(when (typep full-pathname 'logical-pathname)
|
||||
(setf full-pathname (translate-logical-pathname full-pathname)))
|
||||
(when (or (wild-pathname-p full-pathname :directory)
|
||||
(wild-pathname-p full-pathname :host)
|
||||
(wild-pathname-p full-pathname :device))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue